This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
This article describes how to specifymandatory artifacts in Azure DevTest Labs to install on every lab virtual machine (VM). Artifacts are tools and applications that you can add to your VMs. Mandatory artifacts can include any software that every VM in your lab must have. By defining mandatory artifacts, you can ensure all your lab VMs are installed with standardized, up-to-date artifacts. Lab users don't have to spend time and effort to add needed artifacts individually.
Mandatory artifacts can't have any configurable parameters. This restriction makes it easier for lab users to create VMs. Mandatory artifacts always install first on a VM before any extra or custom artifacts selected by the user.
You can create a custom image from a VM that has mandatory artifacts applied to it. When you create new VMs from the custom image, the new VMs also have the mandatory artifacts. DevTest Labs always installs the most recent versions of the mandatory artifacts on a VM, even when the base is an "older" custom image.
When you create a VM, you can't rearrange, change, or delete the mandatory artifacts. However, you can add extra artifacts or define custom artifacts. For more information, seeAdd artifacts to DevTest Labs VMs.
You can select mandatory artifacts for Windows and Linux lab machines separately by following these steps:
In theAzure portal, go to your DevTest Labs lab resource where you want to define the mandatory artifacts.
On your labOverview page, expand theSettings section in the left menu, and selectConfiguration and policies.
On theConfiguration and policies screen, expand theExternal resources section in the left menu, and selectMandatory artifacts.
Select the VM configuration:
On theMandatory artifacts page, select the arrow next to each artifact you want to add to the VM.
On eachAdd artifact pane, selectOK. The artifact appears underSelected artifacts, and the number of configured artifacts updates to show the current list:
SelectSave.
After you add mandatory artifacts, DevTest Labs updates theMandatory artifacts lists for your lab in the Azure portal. From these lists, you can access the artifacts to change the installation order. When you create a new VM, DevTest Labs installs thetop artifact in the list first and thebottom artifact last.
To change the order of installation for the mandatory artifacts:
On theExternal resources >Mandatory artifacts screen for your lab, select theWindows orLinux tab.
SelectEdit Windows artifacts orEdit Linux artifacts to open theMandatory artifacts page.
In theSelected artifacts list, selectMore options (...) for the artifact that you want to change.
On the artifact menu, selectMove up,Move down,Move to top, orMove to bottom.
SelectSave.
After you specify mandatory artifacts for a lab, DevTest Labs shows the mandatory artifacts for all lab VMs based on the operating system (Windows or Linux). When a lab user creates a new VM, they can see the mandatory artifacts that DevTest Labs plans to install.
To view the mandatory artifacts for a VM:
On theOverview page for your lab, selectAdd.
On theChoose a base page, select a Marketplace image, such asWindows 11 Pro.
On theCreate lab resource page, underArtifacts, notice the number of mandatory artifacts for the VM:

To see details about the mandatory artifacts, selectAdd or Remove Artifacts.
On theAdd artifacts screen, the mandatory artifacts are displayed above theAvailable artifacts list. The mandatory artifacts are listed in order of installation from top to bottom:
You can also delete artifacts in theMandatory artifacts lists:
On theExternal resources >Mandatory artifacts screen for your lab, select theWindows orLinux tab.
Select the checkbox next to the artifact in the list, and then selectDelete:
At the confirmation prompt, selectYes.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?