You're a great admin... on-prem. Now, become a great admin in the cloud and prove it by passing the Microsoft Certified: Azure Administrator Associate exam!
Prepare and test your skills

Prepare and test your skills

Azure roles are predefined sets of permissions managed by Microsoft that define what actions can be taken on resources. Since these roles are preconfigured, you cannot alter their permissions directly. Common roles include Owner, which provides full control including permission management; Contributor, which allows resource creation and management without access delegation; and Reader, which grants view-only access. A role assignment links a role to a security principal—such as a user, a group, or an application identity like a service principal—at a specific scope. This scope can range from a broad subscription down to a resource group or an individual resource, enabling administrators to enforce the principle of least privilege.
Azure role-based access control (Azure RBAC) manages access by securing resources through these targeted assignments. Best practices dictate assigning permissions to groups rather than individuals to minimize administrative work, limiting high-privilege roles like Owner, and using unique role IDs in automation rather than display names. Permissions flow downward through the Azure hierarchy via inheritance, meaning high-level assignments at a subscription automatically apply to all child resource groups and resources. When troubleshooting access issues, administrators must evaluate how multiple assignments interact, keeping in mind that deny assignments always override allow assignments. Tools like the Azure portal, Azure PowerShell, or the Azure CLI help audit and identify conflicting or excessive privileges.
Evaluating access requires understanding both the category of the role and its defined boundary. Built-in roles generally fall into either privileged administrator roles or specialized job function roles like Virtual Machine Contributor. While Owner and Contributor operate across resources, specialized roles like User Access Administrator only manage access assignments without altering the resources themselves. Because assignments flow down from higher scopes like a management group to child subscriptions and resource groups, broad roles should be avoided at high levels. Administrators must also monitor subscription limits, which restrict environments to 4,000 role assignments per subscription and 500 per management group.
When built-in options are insufficient, you can create custom RBAC roles to define exact administrative permissions using Actions, NotActions, DataActions, and NotDataActions. This precision allows organizations to maintain strict security boundaries by granting only the minimum necessary permissions for a specific business task. To refine access further, assignment conditions introduce attribute-based access control to restrict role assignments based on resource tags, names, or security attributes. This means an administrator can allow a user to read data only if the storage target matches a specific tag, which reduces the total number of required role assignments. Creating custom roles requires the write permission for role assignments, and these roles should always be assigned at the narrowest scope possible.
Azure organizes resources in a strict structural hierarchy that governs how access is applied and inherited. At the top sit management groups, which contain subscriptions, which in turn contain resource groups that hold individual resources. Applying a role definition to a security principal at any of these levels grants access to that resource and everything nested inside it. Because Azure RBAC uses an additive model, a user's permissions accumulate across all assignments. If a user is granted Contributor permissions at the subscription level and Reader permissions at a resource group level, their effective access remains Contributor because permissions stack together.
Role inheritance ensures that permissions automatically propagate from parent scopes down to child scopes. Once a role is assigned at a higher level like a subscription, child resources cannot revoke or block these inherited permissions; they can only receive additional permissions at their own level. A user's effective permissions are calculated by taking all allowed actions and subtracting explicitly excluded actions. Furthermore, role assignments are transitive through nested groups, meaning a user automatically inherits roles assigned to any group they belong to. This transitive nature requires administrators to carefully track group memberships to ensure the principle of least privilege is not violated.
To maintain a secure cloud environment, administrators must regularly analyze existing role assignments to verify compliance with security policies. Tools like Microsoft Entra Privileged Identity Management (PIM) help manage and audit these permissions by designating roles as either eligible or active. Through PIM, administrators can add conditions and time limits to role activations, ensuring elevated access is only available when needed. Regular audits are critical to reevaluate access during personnel changes and prevent dormant accounts from retaining administrative control.
The system calculates effective permissions through an additive model that combines control plane management permissions and data plane storage permissions. When an access request occurs, the Azure Resource Manager retrieves all active role and deny assignments for the security principal. The authorization system evaluates deny assignments first; if any matching deny exists, access is immediately blocked. If no deny is found, the system subtracts NotActions from Actions to determine the final allowed administrative capabilities. In storage environments like Azure Data Lake Storage, the system evaluates traditional Access Control Lists (ACLs) alongside Azure RBAC to determine precise file and folder permissions.

A process flow showing how Azure Resource Manager evaluates an access request in order: token acquisition, retrieval of role and deny assignments, deny check, additive permission calculation, action match check, and condition evaluation, ending in allow or deny.
Beyond RBAC, Azure resource locks provide a control plane safeguard by blocking accidental deletions or modifications regardless of a user's high-privilege role. A CanNotDelete lock allows authorized users to read and modify a resource but blocks its deletion, while a ReadOnly lock restricts users entirely to read-only access. Meanwhile, managed identities allow Azure resources to securely authenticate to other services using Microsoft Entra authentication without managing credentials. A system-assigned managed identity is tied directly to the lifecycle of a single resource, whereas a user-assigned managed identity is a standalone resource that can be shared across multiple assets. Administrators must manage these identities carefully, as updates to their group memberships can take up to 24 hours to take effect due to token caching.
Deny assignments always override allow assignments. When an access request occurs, the Azure Resource Manager retrieves all active role and deny assignments for the security principal and evaluates deny assignments first; if any matching deny exists, access is immediately blocked.
Role inheritance ensures permissions automatically propagate from parent scopes down to child scopes. Once a role is assigned at a higher level like a subscription, child resources cannot revoke or block these inherited permissions; they can only receive additional permissions at their own level.
A system-assigned managed identity is tied directly to the lifecycle of a single resource, whereas a user-assigned managed identity is a standalone resource that can be shared across multiple assets. Administrators must manage these identities carefully, as updates to their group memberships can take up to 24 hours to take effect due to token caching.
Azure restricts environments to 4,000 role assignments per subscription and 500 per management group. Administrators must monitor these limits when planning access strategies across their Azure environment.