Custom role to create resource groups at a subscription level in Azure

This will allow members of this role to create RG’s at the subscription level.

Create the file input.json


{
"Name": "Resource Group Manager",
"IsCustom": true,
"Description": "Lets you manage resource groups at the subscription level.",
"Actions": [
"Microsoft.Resources/subscriptions/resourceGroups/*"
],
"NotActions": [

],
"DataActions": [

],
"NotDataActions": [

],
"AssignableScopes": [
"/subscriptions/"
]
}

Connect using Azure PowerShell, and import


New-AzureRMRoleDefinition -InputFile ''

You may have to log out of the Azure portal and log back in before you see the new role showing up. Then just add users to the role.

Leave a Reply

Your email address will not be published. Required fields are marked *