All exams← All Azure Administrator (AZ-104) notes

Manage identities & governance: Azure Administrator (AZ-104) revision notes

Revision notes

Azure AD (Entra ID) vs Azure RBAC

These are two separate permission systems and mixing them up is the classic exam trap.

  • Microsoft Entra ID (formerly Azure AD) roles control access to directory-level resources: users, groups, licences, domains, app registrations.
  • Azure RBAC controls access to Azure resources: VMs, storage accounts, resource groups, subscriptions.
  • A Global Administrator does not automatically get access to manage Azure resources - they must elevate access explicitly via 'Access management for Azure resources' in the Properties blade of Entra ID.

RBAC structure

  • Scope hierarchy, broadest to narrowest: Management Group > Subscription > Resource Group > Resource.
  • Permissions are inherited downward - a role assigned at a Management Group flows to every subscription and resource beneath it.
  • A role assignment = security principal (user/group/service principal/managed identity) + role definition + scope.
  • Built-in roles to know: Owner (full access plus can assign roles), Contributor (full access, cannot assign roles), Reader (view only), User Access Administrator (manage role assignments only).
  • Deny assignments always override Allow - Azure Blueprints/Policy can create these and they cannot be changed by Contributor.
  • Multiple role assignments are additive - the effective permission is the union.

Custom roles

  • Defined as JSON with Actions, NotActions, DataActions, NotDataActions, and AssignableScopes.
  • Can be created via Azure CLI, PowerShell, or the portal; a subscription can hold up to 5,000 custom roles (Entra ID custom roles are capped separately, around 100-ish per tenant depending on licence).

Management groups and subscriptions

  • Up to six levels of management groups depth (not counting the Root or subscription level).
  • A management group tree can have one Root management group only, and all subscriptions in a tenant funnel into it.
  • Azure Policy assigned at a management group cascades to all child subscriptions and resource groups - use it to enforce tagging, allowed regions, or allowed SKUs.

Users, groups and licensing

  • Two group types: Security groups (used for RBAC/resource access) and Microsoft 365 groups (collaboration, mailbox, SharePoint).
  • Membership type can be Assigned (manual) or Dynamic (rule-based on user/device attributes) - dynamic groups require Entra ID P1 licensing.
  • Guest users (B2B) are invited via email and get a #EXT# suffix in their UPN; they can be assigned RBAC roles and app access just like members.
  • Self-service password reset (SSPR) needs Entra ID P1 for cloud-only users doing combined registration; basic SSPR works on Free tier for cloud users only in limited scenarios - know that P1/P2 unlocks the full feature set including Conditional Access.

Common mistakes

  • Forgetting that RBAC and Entra ID roles are entirely separate scopes of control.
  • Assuming Contributor can change access - it cannot; only Owner or User Access Administrator can.
  • Applying a Deny assignment expectation to a normal role - Deny only comes from Blueprints/Policy, not standard RBAC.
  • Forgetting dynamic groups need a paid licence tier.

Key facts

Flashcards

What are the two separate permission systems in Azure and what does each control?
Entra ID roles control directory resources (users, groups, licences); Azure RBAC controls Azure resources (VMs, storage, resource groups).
tap to reveal
List the RBAC scope hierarchy from broadest to narrowest.
Management Group > Subscription > Resource Group > Resource.
tap to reveal
How many levels deep can a management group tree go?
Up to six levels, beneath the single mandatory Root management group.
tap to reveal
Can a Contributor assign roles to other users?
No - Contributor has full resource access but cannot assign roles; that needs Owner or User Access Administrator.
tap to reveal
What overrides a normal Allow role assignment and where does it come from?
A Deny assignment always wins over Allow; it is created only via Azure Blueprints or Azure Policy, not standard RBAC.
tap to reveal
Does a Global Administrator automatically have access to manage Azure resources?
No - they must explicitly elevate access via Access management for Azure resources in Entra ID Properties.
tap to reveal
What licence tier is required for dynamic group membership rules?
Microsoft Entra ID P1 or higher.
tap to reveal
How is a guest (B2B) user's UPN distinguishable from a member's?
It carries an #EXT# suffix.
tap to reveal
What three components make up a role assignment?
Security principal, role definition, and scope.
tap to reveal
How many custom RBAC roles can a single subscription hold?
Up to 5,000.
tap to reveal
Are effective RBAC permissions from multiple role assignments additive or most-restrictive?
Additive - the effective access is the union of all assigned roles (except where Deny applies).
tap to reveal
Name the two Azure group types and their typical use.
Security groups (resource/RBAC access) and Microsoft 365 groups (collaboration - mailbox, SharePoint, Teams).
tap to reveal
What is the difference between Owner and User Access Administrator?
Owner has full resource access plus role assignment rights; User Access Administrator can only manage role assignments, not resources.
tap to reveal
Practice questions

Manage identities & governance: 5 practice questions

Q1. You need to grant a user the ability to manage all resources within a resource group, including access management for other users, without granting them permissions outside that resource group. Which built-in Azure role should you assign at the resource group scope?
  • A.  Reader
  • B.  Owner
  • C.  User Access Administrator
  • D.  Contributor
Show answer & explanation
✓ Answer: B. Owner
Owner grants full control including the ability to assign roles to others, scoped to wherever it is applied. Contributor can manage resources but cannot grant access to other users. Reader only allows viewing, and User Access Administrator can only manage role assignments, not the resources themselves.
Q2. An administrator wants to prevent accidental deletion of a production virtual network while still allowing engineers to modify its subnets. Which Azure Resource Manager lock type should be applied?
  • A.  Contributor lock
  • B.  CanNotDelete lock
  • C.  Deny assignment
  • D.  ReadOnly lock
Show answer & explanation
✓ Answer: B. CanNotDelete lock
A CanNotDelete lock stops the resource from being deleted but still allows authorized users to read and modify it. A ReadOnly lock would also block modifications, which is too restrictive here. Contributor lock and Deny assignment are not resource lock types.
Q3. In Microsoft Entra ID, what is the primary purpose of a dynamic group?
  • A.  To automatically add or remove members based on rules evaluated against user or device attributes
  • B.  To restrict group membership to guest users only
  • C.  To synchronize on-premises Active Directory groups to the cloud
  • D.  To require owner approval before any member can join
Show answer & explanation
✓ Answer: A. To automatically add or remove members based on rules evaluated against user or device attributes
Dynamic groups use membership rules (e.g., department equals 'Sales') to automatically include or exclude users or devices as their attributes change, removing manual maintenance. Synchronization from on-premises AD is handled by Microsoft Entra Connect, not dynamic group rules. Owner approval describes assigned groups with access reviews, not dynamic membership.
Q4. A company wants administrators to activate the Global Administrator role only when needed, for a limited time, with approval and justification. Which Microsoft Entra ID feature should be configured?
  • A.  Privileged Identity Management (PIM)
  • B.  Access reviews
  • C.  Conditional Access policies
  • D.  Azure AD Connect
Show answer & explanation
✓ Answer: A. Privileged Identity Management (PIM)
Privileged Identity Management provides just-in-time, time-bound activation of privileged roles, optionally requiring approval, justification, and MFA. Conditional Access controls sign-in conditions but does not manage role activation lifecycles. Access reviews periodically validate existing access rather than granting time-bound elevation.
Q5. Which statement correctly describes the relationship between Azure management groups and subscriptions?
  • A.  A management group can contain other management groups and subscriptions, but a subscription can only be a child of one management group
  • B.  Management groups can only contain subscriptions, never other management groups
  • C.  Subscriptions must be moved into a management group before resource groups can be created
  • D.  A subscription can belong to multiple management groups simultaneously
Show answer & explanation
✓ Answer: A. A management group can contain other management groups and subscriptions, but a subscription can only be a child of one management group
Management groups form a hierarchy where each management group or subscription has exactly one parent, allowing policies and RBAC to cascade down the tree. A subscription cannot belong to two management groups at once, since that would create ambiguous inheritance. Management groups can be nested up to six levels deep, so they are not limited to holding only subscriptions.
Test yourself
See the Azure Administrator (AZ-104) page

More Azure Administrator (AZ-104) topics