Problem
When adding a new resource group in Microsoft Azure, you receive the error You do not have permission to create resource groups under subscription ${YOUR_SUBSCRIPTION_NAME}
.

Solution
The Azure subscription's owner must create the desired resource group. You can
- ask the subscription owner to create the resource group,
- ask the subscription owner to give you also the Owner or Contributer role
- or let the subscription owner to create a custom RBAC role with with the Microsoft.Resources/subscriptions/resourceGroups/write permission.
Granting the Owner or Contributor role
As the subscription owner
- go to Subscription >
${YOUR_SUBSCRIPTION_NAME}
- below Access control (IAM) select Role assignments > Add and assign the Contributor or Owner role. The Owner role has more permissions assigned, so you might probably want to use the Contributor role instead:
