Azure Policy built-in definitions for Azure Lab Services

Important

Azure Lab Services will be retired on June 28, 2027. For more information, see the retirement guide.

This page is an index of Azure Policy built-in policy definitions for Azure Lab Services. For additional Azure Policy built-ins for other services, see Azure Policy built-in definitions.

The name of each built-in policy definition links to the policy definition in the Azure portal. Use the link in the Version column to view the source on the Azure Policy GitHub repo.

Azure Lab Services

Name
(Azure portal)
Description Effect(s) Version
(GitHub)
Lab Services should enable all options for auto shutdown This policy provides helps with cost management by enforcing all automatic shutdown options are enabled for a lab. Audit, Deny, Disabled 1.1.0
Lab Services should not allow template virtual machines for labs This policy prevents creation and customization of a template virtual machines for labs managed through Lab Services. Audit, Deny, Disabled 1.1.0
Lab Services should require non-admin user for labs This policy requires non-admin user accounts to be created for the labs managed through lab-services. Audit, Deny, Disabled 1.1.0
Lab Services should restrict allowed virtual machine SKU sizes This policy enables you to restrict certain Compute VM SKUs for labs managed through Lab Services. This will restrict certain virtual machine sizes. Audit, Deny, Disabled 1.1.0

Next steps