How to: Get the Microsoft Azure Image Name
This topic describes how to get the name of the Microsoft Azure Marketplace image. When you use the provisioning tools to deploy Dynamics NAV on Azure, you must provide the image name in the Set-PartnerSetting file or Set-PartnerSettings-Custom file.
Note
The name that appears for an image in the Azure Marketplace is a user-friendly label and not necessarily the same as the image name that is required in the Set-PartnerSetting file or Set-PartnerSettings-Custom file.
To get the Azure image name
Sign in to the Azure Management Portal.
Choose VIRTUAL MACHINES, choose NEW, and then choose FROM GALLERY.
On the Select the virtual machine operating system page, locate the image that you want to use.
Note the name of the image.
This is the label that is assigned to the image.
Start Azure PowerShell.
At the command prompt, type the following command:
( Get-AzureVMImage | where-object { $_.Label -like "<ImageLabel>*" } )
Replace
<ImageLabel>
with the image label that you identified in step 3.For example, if the image label is Windows Server 2012, then type the following code:
( Get-AzureVMImage | where-object { $_.Label -like "Windows Server 2012*" } )
Press Enter to run the command.
The command returns a list of images that match the image label that you provided. An image can have several versions. You will typically use the latest version.
Locate the image that you want to use from the list, and then note the text string that is next to
ImageName:
parameter.This specifies the image name that you must provide in the Set-PartnerSetting file or Set-PartnerSettings-Custom file.
See Also
Modifying the Parameter Settings
Deploying Microsoft Dynamics NAV Using the Example Scripts
Preparing a Microsoft Azure Virtual Machine Image for Microsoft Dynamics NAV