Skip to content

Identity Labs

Source: Azure Master Class v3 - Part 2 - Identity (John Savill)
Prerequisites: Entra ID P1/P2 licenses for certain features


Labs Overview

These hands-on labs cover identity management concepts from the Azure Master Class. Each lab includes:

  • README.md - Lab objectives and tasks (pure lab, no solutions)
  • solution.md - Step-by-step portal walkthrough
  • solution-cli.md - CLI/PowerShell alternatives
  • questions.md - Exam-style questions and scenarios

Lab List

#LabTopicsLicense RequiredDifficulty
01Users and GroupsCreate users, groups, dynamic groups, licensesFree/P1Beginner
02RBACAzure RBAC roles, custom roles, scopeFreeBeginner
03Conditional AccessCA policies, MFA, device complianceP1Intermediate
04Managed IdentitiesSystem/user-assigned MI, Key VaultFreeIntermediate
05B2B GuestsExternal identities, invitations, cross-tenantFree/P1Intermediate
06SSPRSelf-service password reset, registrationP1Intermediate
07PIMJust-in-time access, eligible roles, approvalP2Advanced

Extras (Reference Material)

TopicDescription
Administrative UnitsDelegation with AUs
Bulk OperationsBulk user management
PIM Deep DiveAdditional PIM scenarios

Suggested Learning Path


Lab Environment Requirements

Minimum Requirements

  • Azure subscription (free tier works for most labs)
  • Entra ID tenant
  • Global Administrator or appropriate admin roles
  • Entra ID P2 trial (for PIM, Identity Protection labs)
  • At least 3 test user accounts
  • A test resource group

Getting P2 Trial

  1. Go to Entra admin center
  2. Navigate to Billing → Licenses
  3. Click "Try/Buy"
  4. Select "Entra ID P2" - 30 day free trial

Quick Reference

Key URLs

PurposeURL
Entra Admin Centerhttps://entra.microsoft.com
Azure Portalhttps://portal.azure.com
SSPR Registrationhttps://aka.ms/ssprsetup
Password Resethttps://aka.ms/sspr
My Accounthttps://myaccount.microsoft.com
PIMhttps://entra.microsoft.com/#view/Microsoft_Azure_PIMCommon

PowerShell Modules

powershell
# Microsoft Graph (recommended)
Install-Module Microsoft.Graph -Scope CurrentUser

# Azure PowerShell
Install-Module Az -Scope CurrentUser

# Connect to Graph with needed scopes
Connect-MgGraph -Scopes "User.ReadWrite.All", "Group.ReadWrite.All", "RoleManagement.ReadWrite.Directory"

Azure CLI

bash
# Login
az login

# Set subscription
az account set --subscription "Your-Subscription-Name"

Back to Main Content

Released under the MIT License.