2 h 30 (S1.1 : 30 min · S1.2 : 60 min · S1.3 : 60 min)
Module 00 (access validated)
empty AU-stNN → Arvéo teams created, SSPR piloted
30 min
Entra ID = Directory + Authentication + AuthorizationAzure Active Directory = Microsoft Entra ID since 2023 (same features)
Tenant = 1 Entra ID instance dedicated to one organizationflowchart LR T[Entra ID tenant] --> U[Users · Groups] T --> A[Applications] T --> MG[Root management group] MG --> S[Subscriptions] S --> RG[Resource groups] RG --> R[Resources]
| Criterion | AD DS (on-prem) | Entra ID (cloud) |
|---|---|---|
| Structure | Forests, domains, OUs | Flat, administrative units |
| Protocols | Kerberos, NTLM, LDAP | OAuth 2.0, OIDC, SAML |
| Queries | LDAP | Microsoft Graph API |
| Policies | GPO | Conditional Access, Intune |
| Devices | Domain join | Entra join or hybrid join |
| Infrastructure | Domain controllers | SaaS service |
Kerberos/LDAP applications → keep AD DS or use Microsoft Entra Domain Services
| Former name | Current name |
|---|---|
| Azure AD | Microsoft Entra ID |
| Azure AD Premium P1 / P2 | Microsoft Entra ID P1 / P2 |
| Azure AD Connect | Microsoft Entra Connect |
| Azure AD B2B | Microsoft Entra External ID (B2B) |
| Azure AD Domain Services | Microsoft Entra Domain Services |
| Azure AD Identity Protection | Microsoft Entra ID Protection |
AzureAD and MSOnline PowerShell modules retired → Microsoft Graph PowerShell
Features: Free ⊂ P1 ⊂ P2| Edition | Key features | Arvéo use |
|---|---|---|
| Free | Users, groups, SSO, security defaults | Foundation |
| P1 | Dynamic groups, Conditional Access, hybrid SSPR, AU-scoped roles | Delegation |
| P2 | ID Protection (risk), PIM (just-in-time), access reviews | Admin accounts |
P2 for privileged accounts first (PIM)
Hybrid identity = AD DS + Entra Connect + Authentication methodPHS enabled even with PTA (fallback + leaked credential detection)
Trainee scope = AU-stNN + rg-stNN-* + stNN prefix| Scope | Trainee role |
|---|---|
AU-stNN |
User Administrator + Groups Administrator |
| Tenant | Global Reader |
| Subscription | Reader |
rg-stNN-* (6 groups) |
Owner |
object without stNN prefix = someone else's, do not modify
az ad signed-in-user show --query "{upn:userPrincipalName, id:id}" -o tableExpected output:
Upn Id
----------------------------------- ------------------------------------
st07@arveoformation.onmicrosoft.com 9d3f1c2a-6b4e-4a8d-b2c7-1e5f9a0d3b6c60 min
Identity = User | Group | Workload identityuserType = Member)userType = Guest), authenticated at homesynchronized user → change it in AD DS, not in Entra ID
| Attribute | Purpose | Arvéo example |
|---|---|---|
userPrincipalName |
Sign-in identifier | st07-lea.martin@<DOMAIN> |
usageLocation |
Required for a licence | FR |
department |
Department, dynamic groups | Logistique |
jobTitle |
Job title | Dock manager |
companyName |
Entity | Arveo-st07 |
employeeType |
Status, dynamic groups | Pilote-SSPR |
attributes filled in at creation = automatic groups afterwards
Creation = Portal | Graph PowerShell | Azure CLI | CSV import| Tool | Typical use |
|---|---|
| Entra admin center | Single creation, discovery |
| Microsoft Graph PowerShell | Scripts, creation inside an AU, all attributes |
Azure CLI (az ad user create) |
Simple creation, limited attributes |
| CSV import (portal) | One-off batch at tenant level |
delegated admin → create the user INSIDE your AU (otherwise access denied)
Variables : <NN> trainee · <DOMAIN> tenant · <PWD> initial password
$au = Get-MgDirectoryAdministrativeUnit -Filter "displayName eq 'AU-st<NN>'"
$user = @{
"@odata.type" = "#microsoft.graph.user"
displayName = "Léa Martin"
userPrincipalName = "st<NN>-lea.martin@<DOMAIN>"
mailNickname = "st<NN>-lea.martin"
accountEnabled = $true
usageLocation = "FR"
department = "Logistique"
passwordProfile = @{ password = "<PWD>"; forceChangePasswordNextSignIn = $true }
}
New-MgDirectoryAdministrativeUnitMember -AdministrativeUnitId $au.Id -BodyParameter $userExpected output:
Id DeletedDateTime
-- ---------------
3f2a9c1e-7d4b-4e8a-a5c6-0b1d2e3f4a5bBatch = CSV file + Import-Csv + Graph PowerShell loopFirstName,LastName,Department,JobTitle
hugo,bernard,Logistique,Dock team leader
sofia,moreau,Logistique,Dock operatorImport-Csv → ForEach-Object → New-MgDirectoryAdministrativeUnitMemberversioned CSV = record of who was created, when, with which attributes
| Type | Use | Example |
|---|---|---|
| Security | Resource access, RBAC, licences | st07-GRP-IT |
| Microsoft 365 | Collaboration: Teams, SharePoint, shared mailbox | Project team |
dynamic group = no manual member addition possible
Rule = (user.attribute -operator "value") -and | -or (other condition)(user.department -eq "Logistique") -and (user.companyName -eq "Arveo-st07")-eq, -ne, -startsWith, -contains, -match, -infilter on companyName = do not capture other trainees' users
B2B guest = External identity + Local guest account (userType = Guest)New-MgInvitation -InvitedUserEmailAddress "<EXTERNAL_EMAIL>" `
-InviteRedirectUrl "https://myapplications.microsoft.com" -SendInvitationMessage:$true |
Select-Object InvitedUserEmailAddress, StatusExpected output:
InvitedUserEmailAddress Status
----------------------- ------
partner@example.com PendingAcceptance60 min
Delegation = Entra role + Scope (tenant | AU | object)flowchart LR F[Trainer<br/>Global Administrator] -->|creates| AU[AU-st07] S[st07<br/>User Administrator] -->|manages| AU AU --> U[Users st07-*] AU --> G[Groups st07-GRP-*]
| Criterion | Entra ID roles | Azure roles (RBAC) |
|---|---|---|
| Scope | Tenant, AU, object | Management group, subscription, RG, resource |
| Acts on | Users, groups, applications | VMs, networks, storage |
| Examples | User Administrator, Global Reader | Owner, Contributor, Reader |
| Management | Entra admin center, Microsoft Graph | Azure portal, ARM |
Global Administrator ≠ subscription Owner (access elevation possible and logged)
SSPR = Method registration + Verification + New passwordpilot group rollout then generalization (Arvéo: GRP-SSPR-Pilote)
MFA = Something I know + (Something I have | Something I am)Before: password only → phishing, reuse → compromise
After: MFA → most account compromises blocked
Policy = Signals → Decision → Enforcement
flowchart LR
S[Signals<br/>user · app · location · device · risk] --> D{Decision}
D -->|Block| B[Access denied]
D -->|Grant with condition| C[MFA · compliant device]
D -->|Grant| A[Access]
JML = Joiner (creation) → Mover (attributes) → Leaver (block, delete)accountEnabled = false)Revoke-MgUserSignInSession)attributes + dynamic groups = automatic moves (new department = new groups)
department be changed?