Microsoft Azure, Microsoft Dynamics NAV

Dynamics NAV 2013 R2 on Azure – Doing it Manually (step by step)


If at all you do not have an MSDN subscription and you think using PowerShell scripts to host NAV on Azure  is cumbersome, there is a third way: Doing it manually!

In this blog, I’m going to explain how to host NAV on Azure manually step by step.

Step 1 : Sign-up for Windows Azure Subscription

  • Go to http://windows.azure.com and sign-in using your Live ID (Hotmail, outlook, live etc..). If you do not have a Live ID, sign-up for one
  • Click on Sign up now
  • Choose to buy an Azure subscription (Buy Now) or click on Free trial (30 days)
  • Sign up for Azure subscription by filling up the form, verifying your mobile & credit card information etc..

capture11

  • Once the Sign-up process is over, it opens your Azure Management Portal with one item called Default Directory

Step 2: Create a Virtual Machine

  • In your Azure management portal, on the left hand side, select Virtual machines (VM) tab and Click on the + New at the bottom to create a new VM. Enter a unique DNS Name (Your VM name ex: navonazure01), Admin user name and password ( which will be used to login to the VM), Region of the VM and click on Create a Virtual Machine.

Creating Virtual Machine from Azure Management Portal

  • After few minutes, you’ll see 3 new items created in your Azure Management Portal. (Click on All Items tab on the left hand side to see all the items.)
  1. Virtual Machine
  2. Cloud Service
  3. Storage Account

Step 3: Login to Virtual Machine

  • In your Azure management portal, under Virtual Machines Tab, select your newly created VM and click on connect at the bottom. This, prompts you to open or save an rdp file.
  • Click on open and connect using remote desktop connection. use the username and password specified while creating the VM in previous step.
  • You should now be able to successfully login to the VM.

Step 4: Download and Install NAV 2013 R2 in the VM

  • Download Microsoft Dynamics NAV 2013 R2 (from PartnerSource for example) install dump.
  • Install NAV 2013 r2 on the VM with components shown in the below image. (you might encounter ocsetup error! watch this video to resolve it.)

Capture3

  • Default parameters for installation (few important parameters are highlighted. You can change them if you want to!):

Untitled5

  •  Installation in process:

Capture6

  •  Once the installation completes, you have successfully installed NAV 2013 r2 on single Azure VM.

 Step 5: Test the installation within the VM

  • Within the VM, check for NAV windows client, development environment, NAV 2013 R2 Administration etc..Capture8
  • Since we have installed web server components as well, within the VM, we should be able to see a web site created under IIS (Internet Information Services) sites and we should be able to open the NAV web client using http://localhost:8080/Dynamicsnav71/webclient [http://localhost:port/servicename/webclient] (the port is 8080 by default when installed in this way. If you’ve used another port for web server while installing, use that port number)

Capture9

 Step 6: Access NAV Web Client from outside (Over the internet)

Untitled10

  • click on ADD at the bottom –> Add a stand-alone endpoint –> Next
  • Enter parameters as shown in the below image and finish. (the port is 8080 by default when installed in this way. If you’ve used another port for web server while installing, use that port number)

Capture12

After Step 6, you should be able to access NAV web client from anywhere (Any computer connected to the internet)  using the link http://VMname.cloudapp.net:8080/Servicename/Webclient

  • VMname: Virtual machine name which you gave in Step 2
  • Servicename: DynamicsNAV71 by default

When prompted for username and password, enter the VM user name and password (created in step 2)

===========================

Thanks for reading and I hope you enjoy NAV on Azure.

Next learn about Securing the NAV Web Client Connection with SSL

In my following blog posts, I will explain how we can make the connection to Azure VM more secure for web client, Different user authentications and using windows client to access NAV on Azure using ClickOnce installation.

 

Advertisements

3 thoughts on “Dynamics NAV 2013 R2 on Azure – Doing it Manually (step by step)”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s