Friday, February 24, 2017

How to add endpoints on Azure VM for NAV


Endpoints allow services running on Windows Azure VM to be accessed remotely. If you create a Azure VM for NAV using one of the templates available on the Azure then all the following endpoints are added by default, which will allow you to access NAV remotely.

  • HTTP 80
  • HTTPS 443
  • Client 7046
  • Soap 7047
  • Odata 7048
  • Help 49000

When you deploy a VM in azure there are two deployment models Classic and ARM (Azure Resource Manager). I will not be discussing the difference between those two in this blog but what I want to discuss how to setup the endpoints in these two models.

In Classic model when you click on the VM,  as shown in the below fig 1, it has the option of Endpoints and when you click on it, on the right hand side it will show all the endpoints and an option to add any new end points.


  • Fig 1: Azure Classic

In ARM model to add the endpoint you need to follow the below steps, Click on the VM and then overview and then on the Resource Group as shown in the (Fig 2), it will open an overview for that resource group and in that window select NetSecurity (Network Security Group) (Fig 3), which will open the settings and one of the option is Inbound Security Rules (Fig 4), Click on the Inbound Security Rules which will show all the endpoints added and where you have the option to add additional endpoints. (Fig 5)


Fig 2: Step 1


Fig 3: Step 2


Fig 4: Step 3


Fig 5: (Step 4)

Do you have any other tips or suggestions? Please let me know in the comments below.