3CX Azure Deployments
This module deploys a complete automated governance setup for enforcing CanNotDelete locks on all Azure Resource Groups.
It includes:
- A Custom Role for lock + remediation permissions
- A Policy Definition that deploys CanNotDelete locks
- A Policy Assignment with System-Managed Identity
- An initial remediation across all Resource Groups
- An Automation Account, Runbook, and daily schedule at 22:00 CET
- Continuous enforcement of the lock policy
You can run this solution directly from the Azure Cloud Shell or any terminal with Azure CLI installed.
Then execute the following command:
curl -O https://raw.githubusercontent.com/SSIG-IT/Azure-ARM-Templates/main/policies/locks-policy-vm/rg-lock-policy.sh \
&& chmod +x rg-lock-policy.sh \
&& ./rg-lock-policy.sh