https://github.com/glav/azuresubscriptioncleanerrunbook
Simple runbook to remove indicated or expired resource groups
https://github.com/glav/azuresubscriptioncleanerrunbook
Last synced: 11 months ago
JSON representation
Simple runbook to remove indicated or expired resource groups
- Host: GitHub
- URL: https://github.com/glav/azuresubscriptioncleanerrunbook
- Owner: glav
- Created: 2022-08-18T03:55:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T03:51:14.000Z (over 3 years ago)
- Last Synced: 2025-03-31T10:39:42.140Z (about 1 year ago)
- Language: PowerShell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AzureSubscriptionCleanerRunbook
Simple runbook to remove indicated or expired resource groups
## Important
When using this as a runbook, ensure you give the automation account - managed identity a role of contributor at the subscription level/scope
otherwise you will get errors such as 'this.Subscription.ID' is null and other errors when attempting to remove a resource group.
Reader would be sufficient to obtain the subscription Id however in order to remove resource groups, then contrinutor is required.