Menu Close

Tag: DevOps

Remove all resources within a Resource Group with Azure DevOps and ARM

Did you know it’s quite easy to remove all resources within a Resource Group via an ARM template. Sometimes you just need to “empty” a Resource Group without removing the Resource Group itself.

This way settings like Access Control and tags which are configured on the Resource Group itself will not be removed. You can also login to the Azure Portal, select all the resources within a Resource Group and click “Delete“, probably you will find yourself deleting depended resources first before you can delete the last bits of your previous deployment. So why not automate this!