Forum Discussion

Phil123's avatar
Phil123
Brass Contributor
May 02, 2022

Azure Policy - Enable Autoshutdown on Azure VM

Hello,   it is possible to activate the Azure VM Autoshutdown Function with an Azure Policy? I found always articles with an DevTest Lab. But i would like to use an AZure Policy at the Production ...
  • lukemurraynz's avatar
    lukemurraynz
    May 05, 2022
    Hi, Phil.

    Yes, it did!

    Delete the assignment, re-run it again, and create your Remediation Task with your System Assigned identity. Although not required, if you have an AutoShutdown already configured, you can just set it to 'None' to let the policy configure the correct time etc in one place.

Resources