Forum Discussion
Subodh_Sohoni
May 13, 2020Copper Contributor
WVD - Visual Studio 2019 on Windows 10 - Image not available.
I am trying to create a host pool (in Southeast Asia) and add VMs to it using portal. I have selected the VM Image of Visual Studio 2019 (Tried with Community and Enterprise) on Windows 10. This imag...
- Jun 02, 2020
Subodh_Sohoni if you run
$locName="southeastasia"Get-AzVMImagePublisher -Location $locName | Select microsoftvisualstudioyou will see that there are no images from that publisher in Southeastasia region. I would advise to escalate to Azure support and file a bug on the images not being available outside. Alternatively deploy a windows 10 enterprise and manually install VS.
SamKa1615
Mar 19, 2021Copper Contributor
# list all the images
az vm image list --all --output table --publisher MicrosoftWindowsDesktop
# Get the lastest enterprise image version
lastest=$(az vm image list --all --output table --publisher MicrosoftWindowsDesktop | grep " 20h1-ent " | cut -d' ' -f5- | tail -1 | awk '{print $2}') \
az vm create \
--name AAAA_JUST_A_TEST \
--resource-group rg_WVD \
--location southeastasia\
--image $lastest \
--size Standard_D2_v3 \
--admin-username adminxxx \
--admin-password pwxxxxx \
--accelerated-networking false \
az vm image list --all --output table --publisher MicrosoftWindowsDesktop
# Get the lastest enterprise image version
lastest=$(az vm image list --all --output table --publisher MicrosoftWindowsDesktop | grep " 20h1-ent " | cut -d' ' -f5- | tail -1 | awk '{print $2}') \
az vm create \
--name AAAA_JUST_A_TEST \
--resource-group rg_WVD \
--location southeastasia\
--image $lastest \
--size Standard_D2_v3 \
--admin-username adminxxx \
--admin-password pwxxxxx \
--accelerated-networking false \