Chris Bradshaw 10/13/2021

Automating Azure Resource Locks

Read Original

This technical guide explains how to automate the reapplication of Azure Resource Locks using PowerShell and Azure Automation. It addresses the common issue of forgetting to reapply locks after maintenance, detailing a script that checks for unlocked Resource Groups, verifies if a lock was recently removed, and reapplies a 'DoNotDelete' lock if appropriate, with optional alerting.

Automating Azure Resource Locks

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week