title | description | ms.topic | ms.author | author | ms.date |
---|---|---|---|---|---|
Configure Azure Marketplace image settings |
Configure which Azure Marketplace images can be used when creating a VM in Azure DevTest Labs |
how-to |
rosemalcolm |
RoseHJM |
06/26/2020 |
DevTest Labs supports creating VMs based on Azure Marketplace images depending on how you have configured Azure Marketplace images to be used in your lab. This article shows you how to specify which, if any, Azure Marketplace images can be used when creating VMs in a lab. It ensures that your team only has access to the Marketplace images they need.
Following these steps to specify which Azure Marketplace images are allowed when creating a VM.
-
Sign in to the Azure portal.
-
Select All Services, and then select DevTest Labs from the list.
-
From the list of labs, select your lab.
-
On the home page for the lab page, select Configuration and policies.
-
On lab's Configuration and policies page under Virtual Machine Bases, select Marketplace images.
-
Specify whether you want all the qualified Azure Marketplace images to be available for use as a base of a new VM. If you select Yes, then all the Azure Marketplace images that meet all the following criteria are allowed in the lab:
-
If you select No to the previous step, the Allowed images/Select all checkbox is enabled. You can use this option together with the search box to quickly select or deselect all the items displayed in the list.
If you aren't able to find a specific image to enable for the lab, follow these steps:
- Check to see if you can view the image while creating a compute VM.
- The image may not be available in the type of the subscription you use. Check with the subscription administrator for the type of the subscription (for example: MSDN, free, pay-as-you-go, and so on.).
- Support for Gen 2 images in DevTest Labs is limited. If both Gen 1 and Gen 2 versions are available for an image, DevTest Labs shows only the Gen 1 version of the image when creating a VM. Workaround is to create a custom Gen 2 image outside the lab and use it to create a VM. If there's only Gen 2 version of the image available, it's supported and shown in the list by DevTest Labs.
Once you've configured how Azure Marketplace images are allowed when creating a VM, the next step is to add a VM to your lab.