Skip to content

๐Ÿงช Identity & Governance Labs โ€‹

Exam Coverage: AZ-104 (20-25% of exam)
Approach: Portal-first, validate-as-you-go


Lab Structure โ€‹

Each lab folder contains:

FilePurpose
README.mdLab tasks - Objectives, what to do, validation criteria
solution.mdPortal walkthrough - Step-by-step Azure Portal instructions
solution-cli.mdCLI alternative - Azure CLI / PowerShell commands
questions.mdPractice questions - Scenario-based exam preparation

Workflow:

  1. Read README.md (tasks)
  2. Try to complete without looking at solutions
  3. Validate using the criteria
  4. Check solution.md if stuck
  5. Test yourself with questions.md

Core Labs (AZ-104 Exam Focus) โ€‹

#LabDifficultyTimeKey Skills
01Users & GroupsBeginner45 minUser creation, security groups, M365 groups, group types
02RBACIntermediate60 minRole assignments, scopes, custom roles, inheritance
03Conditional AccessIntermediate45 minPolicies, MFA, named locations, report-only mode
04Managed IdentitiesIntermediate60 minSystem-assigned, user-assigned, Key Vault, Storage
05B2B GuestsIntermediate45 minGuest invites, collaboration settings, guest RBAC
06SSPR (Self-Service Password Reset)Intermediate45 minPassword reset policies, auth methods, writeback
07PIM (Privileged Identity Management)Advanced60 minJust-in-time access, eligible roles, approval workflows

Total Core Labs Time: ~6-7 hours


Extras (Extended Learning) โ€‹

These topics may appear on AZ-104 but are not primary focus areas:

TopicFileNotes
Administrative Unitsextras/administrative-units.mdScoped administration, P1 feature
Bulk Operationsextras/bulk-operations.mdCSV import/export, bulk user management
PIMextras/pim.mdJust-in-time access, P2 feature (conceptual only)

Prerequisites โ€‹

Required โ€‹

  • [ ] Azure subscription (free tier works for most labs)
  • [ ] Global Administrator OR User Administrator role
  • [ ] Access to Azure Portal

For Conditional Access Lab โ€‹

  • [ ] Entra ID P1 license (free trial available)
  • [ ] Activate trial: Entra ID > Licenses > Try/Buy

For SSPR Lab (Lab 06) โ€‹

  • [ ] Entra ID P1 license (P2 for full features)
  • [ ] Test user accounts for password reset testing

For PIM Lab (Lab 07) โ€‹

  • [ ] Entra ID P2 license (free trial available)
  • [ ] Eligible role to activate

For B2B Lab โ€‹

  • [ ] External email address (personal email works for testing)

Study Tips โ€‹

Before the Exam โ€‹

  1. Complete all 7 core labs
  2. Can you do each task WITHOUT looking at solutions?
  3. Review questions.md - understand WHY each answer is correct
  4. Review extras for conceptual understanding

Key Concepts to Master โ€‹

  • RBAC inheritance: Management Group โ†’ Subscription โ†’ Resource Group โ†’ Resource
  • Deny vs Allow: Deny assignments override Allow
  • Guest vs Member: Different directory permissions, same RBAC capability
  • System vs User-assigned: Lifecycle and sharing differences
  • Conditional Access: Grant vs Session controls
  • SSPR: Auth methods, writeback requirements, P1/P2 features
  • PIM: Eligible vs Active, Just-in-time, approval workflows

Quick Reference โ€‹

ConceptRemember
RBAC ScopeNarrow scope = least privilege
Custom RolesNotActions don't deny, just exclude from Actions
Managed IdentityNo secrets, Azure manages everything
Guest Users#EXT# in UPN indicates external
Conditional AccessReport-only mode for testing
MFAGrant control, not session control
SSPRRequires P1 minimum, writeback needs P2
PIMJust-in-time, eligible โ‰  active, approval for sensitive roles

Released under the MIT License.