The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Azure DevTest Labs!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
Azure DevTest Labs Platform Image Not Available Windows 10 VS2019 Community RRS feed

  • Question

  • When trying to deploy a VM in DevTest Labs in Azure, the deployment failed saying that the platform image was unavailable for the selected Windows 10 with Visual Studio 2019 Community marketplace image.

    Error message was: 
    ```
    The platform image 'microsoftvisualstudio:visualstudio2019latest:vs-2019-comm-latest-win10-n:latest' is not available. Verify that all fields in the storage profile are correct.
    ```

    When finding available images with Azure CLI, I see the following images available:
    ```
    PS C:\WINDOWS\system32> az vm image list --all --sku vs-2019-comm-latest-win10-n
    Offer                   Publisher              Sku                          Urn                                                                                  Version
    ----------------------  ---------------------  ---------------------------  -----------------------------------------------------------------------------------  ----------
    visualstudio2019latest  MicrosoftVisualStudio  vs-2019-comm-latest-win10-n  MicrosoftVisualStudio:visualstudio2019latest:vs-2019-comm-latest-win10-n:2019.10.14  2019.10.14
    visualstudio2019latest  MicrosoftVisualStudio  vs-2019-comm-latest-win10-n  MicrosoftVisualStudio:visualstudio2019latest:vs-2019-comm-latest-win10-n:2019.9.18   2019.9.18
    visualstudio2019latest  MicrosoftVisualStudio  vs-2019-comm-latest-win10-n  MicrosoftVisualStudio:visualstudio2019latest:vs-2019-comm-latest-win10-n:2019.9.24   2019.9.24
    ```
     
    It looks like Azure is appending the wrong version of Visual Studio to the end of the image name when it tries to get the marketplace latest image. This also occurred with the "latest" Visual Studio 2017 image. When I try to deploy from a non-latest image, it works fine. Is there a fix for this already?
    Monday, October 28, 2019 8:56 PM

All replies

  • Willy,

    It sounds like you may be running into an issue covered by Raf Daru in their blog:

     

    https://medium.com/@rafique82.ai/azure-virtual-machine-visual-studio-platform-image-not-found-4234fe058317

    "Since this image is provided by Microsoft and available through Azure Marketplace, most of us would assume it should work out of the box just by clicking on Create a Resource and selecting this item.

    If you read the error message carefully, you will observe that even though Visual Studio Virtual Machine Images are available out of the box, there seems to be an issue with the way the default resource deployment for Visual Studio VMs is set up and this results in deployment failing over the name of the image — ‘microsoftvisualstudio:visualstudio2019latest:vs-2019-comm-latest-win10-n:latest’ — in this case. So in order to identify the root cause and fix this error we will follow the below process:

    1) Identify the configuration settings where image name value is defined or interpreted from during the virtual machine resource creation process
    2) Compare the values specified in the default deployment with the values that the virtual machine image publisher specified in the virtual machine registry
    3) Update the location / config setting from (1) with values from (2)
    4) Re-deploy with the update configuration

    I'll make sure that the product group is aware of this, as we'd like this to be a better experience.  Thank you for bringing this to our attention!

    Thursday, October 31, 2019 6:39 PM
    Moderator