Privileged Identity Management
Eligible vs active · role settings · Entra roles, Azure resources and groups · approval · audit and alerts · emergency access accounts
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Concepts and who can do what
PIM gives just-in-time, time-bound and approval-based access to Microsoft Entra roles, Azure resource roles and groups. It requires licenses; see Microsoft's licensing fundamentals for ID Governance.
| Term | Meaning |
|---|---|
| Eligible | A role assignment that requires a user to perform one or more actions to use the role (MFA check, justification, approval). |
| Active | A role assignment that doesn't require the user to perform any action to use the role. |
| Time-bound eligible | The user is eligible to activate the role only within start and end dates. |
| Time-bound active | The user can use the role only within start and end dates. |
| Permanent eligible / active | Always eligible to activate, or always able to use the role without any action. |
There is no difference in the access given by a permanent versus an eligible assignment. The only difference is that some people don't need the access all the time.
| Role type | Who manages assignments for other administrators | Who can view |
|---|---|---|
| Microsoft Entra roles | Privileged Role Administrator or Global Administrator | Global Administrators, Security Administrators, Global Readers, Security Readers |
| Azure resource roles | Subscription administrator, resource Owner, or resource User Access Administrator | Privileged Role Administrators, Security Administrators and Security Readers don't by default have access to view Azure resource role assignments |
- PIM prevents removal of the last active Global Administrator and Privileged Role Administrator role assignments.
- An assignment can't be made for less than five minutes and can't be removed within five minutes of being assigned. A role can't be deactivated within five minutes after activation.
- Assignment targets: users, groups, service principals or managed identities (plus a scope, a type and a duration).
- Assigning a built-in Microsoft Entra role to a guest user elevates the guest to the same permissions as a member user.
- Extend (near expiry) and renew (after expiry) are user-initiated and need approval from a Global Administrator or Privileged Role Administrator.
Microsoft Entra roles: assignment and role settings
Role settings (also called PIM policies) are defined per role. All assignments for the same role follow the same settings, and one role's settings are independent of another's. You need at least the Privileged Role Administrator role to manage them.
| Setting | Details |
|---|---|
| Activation maximum duration | Slider from 1 to 24 hours. |
| On activation, require MFA | Users might not be prompted if they authenticated with strong credentials or did MFA earlier in the session. |
| On activation, require Conditional Access authentication context | Uses a Conditional Access policy for the context; use Authentication Strengths to force a specific method. |
| Require justification / ticket information | Ticket number is an information-only field; no correlation with a ticketing system is enforced. |
| Require approval to activate | Select at least one approver (two recommended). If none are selected, active Privileged Role Administrators and Global Administrators are the default approvers. The approver needs no role. |
| Assignment duration | Allow permanent, or expire after a set time, separately for eligible and active. |
| MFA / justification on active assignment | Applies when an administrator creates an active assignment. PIM can't enforce MFA when a user later uses a role they're already active in. |
Authentication context
- Create and enable the Conditional Access policy for the authentication context before setting the context in PIM.
- Don't scope one policy to the authentication context and a directory role: at activation the user has no role yet, so it wouldn't apply. Use one policy for the context and a second for directory roles.
- Backup protection: if no Conditional Access policy in the tenant targets the context, MFA is required. It isn't triggered if the policy is off, in report-only mode, or excludes the eligible user.
- Reauthenticate on every activation: sign-in frequency set to Every time in Session controls. After one reauthentication a 10-minute window applies across Entra roles, Azure resource roles and PIM for Groups.
- Once activated, users aren't prevented from using another session, device or location. Conditional Access administrators can change or remove the requirements, so treat them as highly privileged.
Lockout risk: you're locked out if all Privileged Role Administrators and Global Administrators are eligible only, approval is required and no approvers are configured. Avoid it with emergency access accounts and specific approvers.
- Notifications tab: turn off emails, limit to specific addresses, add recipients, or send critical emails only. Maximum 1000 notifications per event.
- Activation: My roles > Microsoft Entra roles > Activate. You can pick a reduced scope and a start time; request the fewest resources you need.
- Pending approval requests can be cancelled from My requests.
Azure resource roles
- You need an Owner or User Access Administrator role to manage PIM role settings for the resource. Settings are per role and per resource and aren't inherited from a higher scope such as a subscription.
- There are no default approvers: if you require approval, select at least one (two recommended).
- Discovering a management group or subscription creates the PIM service principal (MS-PIM) with User Access Administrator on it. Once managed, it can't be unmanaged.
- You can view and manage resources where you have Microsoft.Authorization/roleAssignments/write permissions (for example Owner or User Access Administrator). A Global Administrator who sees nothing can elevate access.
- Azure ABAC conditions can be added to eligible assignments of the built-in roles Storage Blob Data Contributor, Storage Blob Data Owner and Storage Blob Data Reader.
- Alert "Roles are being assigned outside of Privileged Identity Management" (High) is triggered for Azure subscriptions only, not for management groups, resource groups or resources.
- Classic subscription administrator roles can't be managed in PIM.
PIM for Groups
- PIM for Groups activates membership or ownership of a Microsoft Entra security group or Microsoft 365 group. Dynamic membership groups and groups synchronized from on-premises can't be enabled.
- Each group has two policies: one for membership and one for ownership. Settings are per role per group; there are no default approvers.
- Role-assignable and PIM-enabled are independent properties. To assign a Microsoft Entra role to a group it must be role-assignable. More than 500 groups can be PIM-enabled, but only 500 can be role-assignable.
- Role-assignable groups: only the Global Administrator, Privileged Role Administrator or the group Owner can manage the group.
- For groups that elevate into Entra roles, require approval for eligible member assignments.
- For SharePoint, Exchange or Purview roles, make users active members of the group and assign the group to the role as eligible; otherwise use PIM for Microsoft Entra roles to avoid delays.
- Every user who is eligible needs a Microsoft Entra ID P2 or Microsoft Entra ID Governance license. Groups in restricted management administrative units aren't supported.
- The last active owner of a group can't be removed; PIM retries deactivation of an eligible owner for up to 30 days.
- Administrators and group owners can manage groups outside PIM, overriding changes made in PIM.
Approval, audit and alerts
| Item | Rule |
|---|---|
| Approval window | Delegated approvers have 24 hours; then the user must re-submit. Not configurable. |
| Who approves | First approver to approve or deny resolves the request. Approvers can't approve their own requests; service principals can't approve. |
| Notified | All approvers are notified of a response. Global Administrators and Privileged Role Administrators are notified when an approved user becomes active. |
| Audit (Entra roles) | Resource audit: all role assignment, activation and policy activity; My audit: your own. Data for the past 30 days; it's a subset of Microsoft Entra audit logs. |
| Longer retention | Route audit data with diagnostic settings to a storage account or Log Analytics. |
| Group audit | Resource audit per group; My audit for personal activity. |
- Only Global Administrator, Privileged Role Administrator, Global Reader, Security Administrator and Security Reader can read PIM security alerts for Microsoft Entra roles.
- Entra role alerts include: administrators not using privileged roles (0 to 100 days), too many Global Administrators, stale accounts (1 to 365 days), roles activated too frequently, roles not requiring MFA, and roles assigned outside PIM.
- Use
roleAssignmentRequestIdto correlate audit events of one activation, becauseCorrelationIdcan differ across asynchronous steps.
Emergency access accounts
Create two or more emergency access ("break glass") accounts so you can't lock yourself out. Use them only when normal administrative accounts can't be used.
- Cloud-only accounts on the .onmicrosoft.com domain, not federated or synchronized.
- Assign Global Administrator as active permanent in PIM, not eligible.
- Use phishing-resistant passwordless methods (passkey FIDO2 recommended, or certificate-based authentication) that differ from your normal admin accounts' methods.
- Don't tie them to one person or employee-supplied devices; credentials and devices must not expire or be cleaned up for lack of use.
- Exclude them (for example via an EmergencyAccess security group) from Conditional Access policies that block or restrict sign-in. Report-only policies need no exclusion.
- Monitor sign-in and audit logs and alert on every use; validate the accounts at least every 90 days.
Scenario that needs them: all Global Administrators and Privileged Role Administrators are eligible, activation needs approval, and no approvers are selected.
Exam Tips
Tick each tip once you can answer it without looking.
“Who can make other administrators eligible for Microsoft Entra roles in PIM?” → Privileged Role Administrator or Global Administrator.. Trap: Security Administrators, Global Readers and Security Readers can view assignments but not manage them.
“Who manages Azure resource role assignments in PIM?” → A subscription administrator, resource Owner or resource User Access Administrator.. Trap: Privileged Role Administrators, Security Administrators and Security Readers don't by default have access to view Azure resource role assignments.
“Role needed rarely; MFA or approval wanted at use; same access as permanent” → Eligible assignment (activate when needed).. Trap: Active assignments need no action to use; time-bound active still needs no activation.
“Activation maximum duration range” → 1 to 24 hours.. Trap: It limits how long one activation stays active; it isn't the assignment duration.
“Role settings scope” → Entra roles: per role. Azure: per role and per resource, not inherited from a higher scope. Groups: per role (member or owner) per group.. Trap: Changing a subscription's setting doesn't change a resource group's.
“Force a specific sign-in method (Authentication Strengths) at activation” → Require a Conditional Access authentication context in the role settings, with a policy targeting that context for all or eligible users.. Trap: A policy scoped to the context and the directory role at once doesn't apply at activation (no role yet). Use a second policy for the role.
“Context configured in PIM but no Conditional Access policy targets it” → Backup protection: MFA is required at activation.. Trap: It isn't triggered if the policy is off, in report-only mode, or excludes the eligible user. Create and enable the policy first.
“Reauthenticate on every activation” → Sign-in frequency Every time in the policy that targets the authentication context.. Trap: After one reauthentication a 10-minute window applies across Entra roles, Azure roles and PIM for Groups.
“Approval required but no approver chosen” → Entra roles: active Privileged Role Administrators and Global Administrators approve. Azure roles and groups: no default approvers, select at least one.. Trap: Approvers need no role of their own.
“Approver didn't act for more than 24 hours” → The user must re-submit; the 24-hour window isn't configurable.. Trap: Approvers can't approve their own request, service principals can't approve, and the first response resolves it.
“All Global and Privileged Role Administrators eligible, approval required, no approvers” → Tenant lockout. Prevent it with emergency access accounts and specific approvers.. Trap: Active admins are the default approvers only if some are active.
“Five-minute rules” → Assignments can't be shorter than, or removed within, five minutes; a role can't be deactivated within five minutes of activation.. Trap: The same five-minute limit applies to assigning, removing and deactivating.
“Remove the last Global Administrator assignment” → Not allowed; PIM prevents removing the last active Global Administrator and Privileged Role Administrator assignments.. Trap: Keep an emergency access account with active permanent Global Administrator.
“Group to receive a Microsoft Entra role through PIM for Groups” → Must be role-assignable; it can be a security or Microsoft 365 group.. Trap: Dynamic membership and on-premises synchronized groups can't be enabled in PIM for Groups.
“Different activation rules for members and owners of one group” → Each group has two policies, one for membership and one for ownership.. Trap: Eligible users need Entra ID P2 or Entra ID Governance licenses.
“Keep PIM audit data longer than the default” → The audit shows the past 30 days; route it with diagnostic settings to a storage account or Log Analytics.. Trap: PIM audit is a subset of Entra audit logs, not a separate store.
“Break-glass account design” → Two or more cloud-only accounts, Global Administrator active permanent, phishing-resistant method different from admins, excluded from blocking Conditional Access, monitored, validated at least every 90 days.. Trap: Don't make Global Administrator eligible, and don't connect the accounts to employee-supplied devices such as phones.
“Role assigned directly in Azure IAM or ARM, bypassing PIM” → High-severity alert "Roles are being assigned outside of Privileged Identity Management".. Trap: For Azure it fires for subscription scope only, not management groups, resource groups or resources.
Sources
- What is Privileged Identity Management?
- Assign Microsoft Entra roles in PIM
- Activate Microsoft Entra roles in PIM
- Configure Microsoft Entra role settings in PIM
- Assign Azure resource roles in Privileged Identity Management
- Configure Azure resource role settings in PIM
- Discover Azure resources to manage in PIM
- Approve or deny requests for Microsoft Entra roles in PIM
- Approve requests for Azure resource roles in PIM
- Privileged Identity Management (PIM) for Groups
- Assign eligibility for a group in Privileged Identity Management
- Configure PIM for Groups settings
- Approve activation requests for group members and owners
- Activate your group membership or ownership in Privileged Identity Management
- Audit activity history for group assignments in Privileged Identity Management
- View audit log report for Microsoft Entra roles in Microsoft Entra PIM
- Security alerts for Microsoft Entra roles in PIM
- Configure security alerts for Azure roles in Privileged Identity Management
- Roles you can't manage in Privileged Identity Management
- Manage emergency access admin accounts
Checked against Microsoft Learn on November 13, 2026.