Privileged Identity Management (PIM)
Cheat sheet · https://pcornel.dk/topic.php?topic=6257
Answer
Privileged Identity Management (PIM) is the Microsoft Entra service that makes administrator roles just-in-time: users are eligible for a role and activate it for a limited time, with MFA, justification and optionally approval.
Remember
Eligible = may activate; active = has the privilege now. Activation is time-bound and audited. PIM covers Entra roles, Azure resource roles and PIM for Groups. It requires Microsoft Entra ID Governance or P2 licensing.
First checks
- Entra admin center → PIM → My roles — eligible and active assignments for you.
Get-MgRoleManagementDirectoryRoleEligibilitySchedule— who is eligible for which Entra role.Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance— assignments active right now.- PIM audit history — activations, approvals and justifications.
Verify in this order
eligible assignment → activation request (MFA, justification, ticket) → approval if required → time-bound active assignment → new token with role → audit and expiry
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6257