This week I presented a Festive Tech Calendar 2021 session about Azure Resource Manager Locks. This post includes a link to the session recording and some accompanying resources.
Locks can be used to prevent accidental deletion of Azure Resources. But what happens when you remove a lock to perform maintenance and forget to reapply it? Azure Automation and PowerShell can
be used to make sure locks are reapplied.
Have you ever thought you had accidentally deleted a VM, or removed a production resource when you thought you were working in the test environment? Azure Locks are for you!