Last active
December 3, 2019 19:32
-
-
Save mmckechney/1d3e7012096b7dce74697cda0102e1d1 to your computer and use it in GitHub Desktop.
Tag Manager - Custom Azure RBAC role
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "Tag Manager Role", | |
"Description": "Can only add/edit/delete resource tags", | |
"Id": null, | |
"IsCustom": true, | |
"Actions": [ | |
"*/read", | |
"Microsoft.Resources/tags/write", | |
"Microsoft.Resources/tags/delete" | |
], | |
"dataActions": [], | |
"notActions": [], | |
"notDataActions": [], | |
"AssignableScopes": [ | |
"/subscriptions/1e1dcefc-d832-4de0-889a-2a48494c441b" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This custom RBAC role extends the "Reader" role with the access to manager resource Tags.
To apply this to your subscrption(s), download the file and change the "AssignableScopes" to the Guid(s) of your Azure subscriptions.
Then run the Azure CLI commands
to validate the role definition run
az role definition list -n "Tag Manager Role"
You can then assign the role via the Azure portal or CLI