Use role assignments to manage access to your Azure subscription resources
Azure Role-Based Access Control (RBAC) enables fine-grained access management for Azure. Using RBAC, you can grant only the amount of access that users need to perform their jobs. This article helps you get up and running with RBAC in the Azure portal. If you want more details about how RBAC helps you manage access, see What is Role-Based Access Control.
You can see who has access to a resource, resource group, or subscription from its main blade in the Azure portal. For example, we want to see who has access to one of our resource groups:
- Select Resource groups in the navigation bar on the left.
- Select the name of the resource group from the Resource groups blade.
- Select Users on the top right of the resource group blade.
The Users blade lists all users, groups, and applications that have been granted access to the resource group.
Notice that some users were Assigned access while others Inherited it. Access is either assigned specifically to the resource group or inherited from an assignment to the parent subscription.
Classic subscription admins and co-admins are considered owners of the subscription in the new RBAC model.
You grant access from within the resource, resource group, or subscription that is the scope of the role assignment.
- Select Add on the Users blade.
- Select the role that you wish to assign from the Select a role blade.
Select the user, group, or application in your directory that you wish to grant access to. You can search the directory with display names, email addresses, and object identifiers.
Select OK to create the assignment. The Adding user popup tracks the progress.
After successfully adding a role assignment, it will appear on the Users blade.
- Select the role assignment on the Users blade.
- Select Remove in the assignment details blade.
- Select yes to confirm removal.
Inherited assignments cannot be removed. Notice in the image below that the remove button is grayed out. Instead, look at the Assigned At detail. Go to the resource listed there to remove the role assignment.
You can assign roles and manage access with Azure RBAC commands in tools other than the Azure portal. Follow the links to learn more about the prerequisites and get started with the Azure RBAC commands.