How to Deploy NAV 2015 on Azure

First of all, I will make small introduction for all people who don’t know what a Microsoft Azure is. With simple words, Microsoft Azure is Microsoft cloud computing and services platform with physical infrastructure all around the world. On this cloud platform, there is a virtual machines, SQL databases, storages, with Visual Studio online, and many other things, as one “global operating system”. Microsoft Azure also can includes Microsoft Dynamics NAV services.

I will explain some basic deployment topologies that are supported. We can choose topology with one or two virtual machines.

If we choose to deploy Microsoft Dynamics NAV on a single virtual machine, the Microsoft Dynamics NAV Web Server components, Microsoft Dynamics NAV Server, SQL Server, and Microsoft Dynamics NAV database components will be installed on the same virtual machine.


If we choose to deploy Microsoft Dynamics NAV on a two virtual machines, the Microsoft Dynamics NAV Web Server components and Microsoft Dynamics NAV Server will be installed on one virtual machine, and the SQL Server and Microsoft Dynamics NAV database components will be installed on another virtual machine.


In the first scenario, this virtual machine represents a single cloud service on Microsoft Azure, and in second scenario each virtual machine represents a cloud service on Microsoft Azure. In both of these topologies, users can access Microsoft Dynamics NAV data by using the Windows client (from a ClickOnce site or without it), the Web or Tablet client and OData and SOAP web services.

If we want to deploy Microsoft Dynamics NAV 2015 on Microsoft Azure, we can use NAV Provisioning Tools for Microsoft Azure that support the automated deployment of Microsoft Dynamics NAV 2015 on Microsoft Azure virtual machines, using both of topologies. You can find NAV Provisioning Tools as Windows PowerShell scripts on Microsoft Dynamics NAV 2015 installation DVD on \\NAV2015DVD\WindowsPowerShellScripts\Cloud\HowTo\


You can find few files in this folder. First of all, you must configure Set-PartnerSettings file and after that you can run one of the following PowerShell scripts Example-1VM (deployment on 1 VP) or Example-2VM (deployment on 2 VMs).

If you want to deploy Microsoft Dynamics NAV 2015 on only one VM (usually for test or demo environment), you can find all details on How Do I video:

Also, if you want to deploy Microsoft Dynamics NAV 2015 on two VMs (usually for production environment), you can find all details on How Do I video:

In some other articles, I will describe all steps how to make Multitenancy environment or how to use production database, license, language etc.


Easy Deployment of the Latest NAV 2015 Version

Today, Microsoft has published new article about easy deployment of the latest version of Microsoft Dynamics NAV on their blog. It is important to know that Microsoft always publishes the latest cumulative update (currently it is NAV 2015 with cumulative update 7). You can use this image to test the newest NAV 2015 version or to use as efficiency demo environment on Microsoft Azure.

I have also wrote about this image in my older posts and I can remind you about them:

I will prepare few more articles about this image, very soon.

Multitenancy on NAV2015 Image on Microsoft Azure

When we speak about NAV on Azure, we expect Multitenancy as main strength. This is because, we expect an easy repeatability. Now, I will explain how to achieve this goal using NAV 2015 image deployed on Microsoft Azure.

We have excellent tolls, but we also have some rules. First, if you already run “O365 Integration pack” and “ClickOnce Deployment pack” scripts, unfortunately you cannot use this tools. You will get message similar as on following picture:


You need to have a clean image deployment with running only “Initialize the VM pack” (must run it). Then, you need to run install.ps1 file from C:\DEMO\Multitenancy folder. You can find it, when you click on Enable Repeatability from NAV on Azure Welcome Screen. You can run this PowerShell file using PowerShell ISE.

When you open this script, you have to replace “vmadmin” in path with your user name on all places you can find. You can see one of the examples on following picture:


You could also rename tenant ID, if you want it. It has name “Default”, by default.

After that, you can save and run your script. When script is finished, you will get URLs file with your new links with tenants.


Now, you can use these new links to run your NAV 2015 with tenant. If you want to add new tenant or remove existed, you can do it running Multitenancy Demo Admin Shell from your VM desktop. You can also use it tool to add users to tenant or remove existed from tenant.