Set Up Privileged Identity Management for Admin Roles
Most admins don’t need their role all day. Privileged Identity Management (PIM) lets you make people eligible for a role instead of permanently active, so they activate it when needed (opens in a new tab), with MFA, a justification and, if you want, approval. Activations are time-bound and you get notified. This guide sets it up for Microsoft Entra admin roles.
Before you start
- License: PIM needs Microsoft Entra ID P2 or Microsoft Entra ID Governance (see License requirements; PIM license requirements (opens in a new tab)).
- Role: only a Privileged Role Administrator or Global Administrator can manage PIM assignments for other admins (Who can do what (opens in a new tab)).
- Inventory: run List Global Admins and privileged role assignments, and trim roles first with Too many Global Admins.
- Emergency access: have two working break-glass accounts.
Step by step
- Decide who stays active. Microsoft’s plan: keep zero permanently active assignments except your emergency access accounts, and keep two cloud-only emergency accounts permanently assigned Global Administrator (PIM deployment plan (opens in a new tab)).
- Set the role rules first. Go to ID Governance > Privileged Identity Management > Microsoft Entra roles > Roles, pick a role, then Role settings > Edit (Open role settings (opens in a new tab)). For each role, set:
- Activation maximum duration, from 1 to 24 hours.
- On activation, require MFA, or a Conditional Access authentication context for something stronger.
- Require justification, and optionally ticket information. The ticket field is information only; it isn’t checked against any system.
- Require approval for high-impact roles. Select at least one approver (Microsoft recommends two). If you select none, active Privileged Role Administrators and Global Administrators approve.
- Make people eligible. Go to Microsoft Entra roles > Roles > Add assignments, pick the role and the member, then set Assignment type to Eligible, with an end date or permanent eligibility (Assign a role (opens in a new tab)).
- Pilot, then remove standing access. Many organizations test and roll out Global Administrators first (Plan testing (opens in a new tab)). Once an admin has activated successfully, remove their active assignment so only the eligible one is left.
- Tune notifications. On the role’s Notifications tab, choose who gets activation and assignment emails (Role settings (opens in a new tab)).
Gotchas
- Using an authentication context? Create and enable the Conditional Access policy for it before you set it in PIM. Scope that policy to all users or the eligible users, not to the directory role, because the user doesn’t have the role yet while activating (Authentication context (opens in a new tab)).
- Activation checks happen once. After activation, the user isn’t prevented from using the role from another browser session, device, or location (Learn (opens in a new tab)).
- Some apps cache role state, so access may lag right after activation or deactivation. Signing out and back in can help (Activate a role (opens in a new tab)).
- Service principals can’t be made eligible; they can only get a time-limited active assignment (What you can manage (opens in a new tab)).
- PIM won’t remove the last Global Administrator assignment when it expires, to avoid lockouts (Assign a role (opens in a new tab)). Don’t rely on that; keep the break-glass accounts.
Check it worked
- A pilot admin goes to ID Governance > Privileged Identity Management > My roles, activates the role, and gets the MFA, justification or approval steps you set (Activate a role (opens in a new tab)).
- The PIM eligible and active role assignments script shows eligible assignments for people and active ones only for the break-glass accounts.
Roll back
If an admin is blocked, add an active assignment for the role in the same Add assignments screen (choose Active), then fix the role settings and switch back to eligible (Assign a role (opens in a new tab)). If an authentication context policy is the problem, use a break-glass account to fix it.
Related on EntraReady: the privileged access baseline, AADSTS50076 (MFA required), and the Conditional Access baseline.
Sources (Microsoft Learn): What is PIM? (opens in a new tab), Plan a PIM deployment (opens in a new tab), Configure role settings in PIM (opens in a new tab), Assign Microsoft Entra roles in PIM (opens in a new tab), Activate a Microsoft Entra role in PIM (opens in a new tab).
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.