Set VM expiration policy at lab level
Setting VM expiration is helpful. Can you please provide the ability to define this as the policy at lab level along with VM level, similar to VM startup-shutdown policies? This will help us defining how long user can use a particular VM. It would be great if you can provide below options in policy:
VM Expiration after particular duration: Example, VMs will be deleted after 30 days from its creation.
Allow Opt-out at VM level

Thanks for submitting the idea! The support of this is current in our backlog and will be prioritized with other features. So we don’t have an ETA at this point of time. For anyone who wants to see it sooner, please don’t hesitate to add your votes.
2 comments
-
Louis-Guillaume MORAND commented
@Bill, your link says " From the Create lab blade, select Advanced settings and select a date." but in fact the screenshot and the portal show the expiration date at the VM level, not the lab level. Which means you have to set it manually for each VM the user creates
-
Bill Keane commented
Looks like this option is now available. Another great reason to start using Dev\Test labs if you haven't already.
https://azure.microsoft.com/en-us/updates/azure-devtest-labs-set-expiration-date-for-new-vms-from-azure-portal/