How to Manually Configure a NAV Demo Virtual Machine in the New Azure Portal: Part 2

Yesterday I detailed the initial steps on how to create a new Azure virtual machine in Microsoft Dynamics NAV.  Today we will:

  • Set up the DNS Name Label
  • Add Inbound Security Rules
  • Connect to the new virtual machine
  • Initialize the new virtual machine

Set up the DNS Name Label

  1. Navigate to the virtual machine’s management console.
  2. Click on the Public IP address/DNS name label icon.
  3. Click on Configurations.
  4. In the DNS name label (optional) field, assign a name — in my example, I’ve used “boyer101.”
  5. Click on the Save button.

NAV Azure demo 8

If done properly, the new DNS name label will be displayed as shown below.

NAV Azure demo 9

Adding Inbound Security Rules to the Virtual Machine:

NOTE: Inbound Security Rules used to be called Endpoints in Azure’s classic virtual machines.

  1. From the Microsoft Azure console, click on Resource Groups.
  2. Click on the new Resource Group you created in the Basics virtual machine configuration screen above — I created the “BoyerNewGroup” group.
  3. Click on the resource which represents the network security group Type — mine is called “Boyer101-nsg.”

NAV Azure demo 10

  1. Click on the Inbound security rule menu option.
  2. Click on Add.
  3. In the Add Inbound Security pane, type HTTP in the Name field.
  4. Chose the TCP Protocol option.
  5. Leave the Source Port Range field as it is — it should have a “*” sign in it.
  6. Type 80 in the Destination port range field.
  7. Click on OK.

NAV Azure demo 11

If you’ve set up the inbound security rule correctly, it’ll look as follows:

NAV Azure demo 12

  1. Set up the five additional inbound security rules displayed below.
    IMPORTANT NOTE: These ports can be finicky. Make sure you set them up exactly as shown below, using the exact name and destination port range shown below:

NAV Azure demo 13

Connecting to the New Virtual Machine:

  1. From the Azure Dashboard, click on the tile for the new virtual machine you’ve created.

NAV Azure demo 14

  1. On the virtual machine management console, click on the Connect button to download an RDP link to your newly commissioned virtual machine.
  2. Open the RDP link.

NAV Azure demo 15

  1. On the Remote Desktop Connection window, click on the Connect button to continue to the login.

NAV Azure demo 16

  1. On the Windows Security window, input your user name — this is the user name you established in the Basics configurations when setting up the virtual machine.
  2. Input your password — this is the password you established in the Basics configurations when setting up the virtual machine.
  3. Click on the OK button.

NAV Azure demo 17

  1. On the Remote Desktop Connection window, click Yes. If you don’t want to receive this message again, you can click on the “Don’t ask me again for connections to this computer” option.

NAV Azure demo 18

  1. If asked a question about networks, answer No. I missed that screen shot, so here’s the first image I saw when I Googled “cat” instead:

NAV Azure demo 19

  1. In the Sever Manager console, click on the Local Server button.
  2. Click on the Windows Update – Install updates automatically using Windows Updates icon.
  3. On the Change settings screen, change the Important updates option to Never check for updates (not recommended).
  4. Click on OK.

NAV Azure demo 20

  1. Stay on the Local Server menu.
  2. Click on the IE Enhanced Security Configuration – On icon.
  3. Select the Off option under the Administrators: section.
  4. Select the Off option under the Users: sections.
  5. Click OK.

NAV Azure demo 21

Initialize the Virtual Machine:

  1. Open up File Explore and navigate to C:\DEMO.
  2. Right click on the Initialize Virtual Machine PowerShell script and chose the Run with PowerShell menu option.

NAV Azure demo 22

  1. When asked about the Execution Policy Change, hit the “y” key and then hit Enter.

NAV Azure demo 23

  1. When asked to select NAV language, hit Enter.

NAV Azure demo 24

  1. Hit Enter again, at the following prompt.

NAV Azure demo 25

  1. To accept the default username, hit Enter when asked for a username — default username is admin.
  2. To accept the default password, hit Enter when asked for a password — default password is P@ssword1.

NAV Azure demo 26

  1. Type in the DNS name label configured above and hit Enter — my label was “”

NAV Azure demo 27

Stay tuned for tomorrow’s blog where we will test the setup and connections of our new NAV demo virtual machine.