Privileged access · Deploy

Roll out just-in-time admin access

Privileged Identity Management, approvals and activation rules, rolled out role by role.

Duration
6 to 10 weeks
Effort
About 10 to 15 person-days
Complexity
Medium
Beyond E5
Nothing beyond Microsoft 365 E5

Who's in the room: Privileged Role Administrator, identity lead, security architect, role holders in each team, approvers

On this page

Overview

With PIM, a person is eligible for a role and activates it when needed, for a limited time, proving who they are and saying why. Activations are logged and can need approval. This playbook moves each role from active to eligible assignments, starting with the most powerful, with a pilot group and a rollback.

Technically, you configure role settings in PIM (maximum activation duration, MFA or a Conditional Access authentication context on activation, justification, approval and approvers, assignment expiry), convert active assignments to eligible ones for a pilot group and then for each role, turn on PIM alerts, and keep the emergency access accounts permanently active. PIM needs Microsoft Entra ID P2 or ID Governance for each person with an eligible assignment and each approver; Microsoft 365 E5 includes P2.

You'll end up with: Every privileged role managed in PIM with eligible assignments, activation rules and alerts, and no permanent active assignments except the emergency access accounts.

If you skip it: Without just-in-time access, every admin account is permanently powerful, so a single phished admin session gives an attacker full control.

Before you start

The path to this playbook

  1. Decide who holds admin roles and how
  2. Roll out just-in-time admin access (you are here)
  • Decide who holds admin roles and how: Role model, least privilege, separate admin accounts and emergency access.
  • Have the approved role model
    How to do it

    The rollout follows the role model, PIM order and activation settings from Decide who holds admin roles and how, including the list of assignments to remove.

    Who: Identity leadProduces: The approved role model

Rollout approach: By risk tier · Pilot size: A pilot group of role holders, then one role at a time. The most powerful roles carry the most risk and are held by the fewest people, so they go first; Microsoft's plan typically tests and rolls out Global Administrator first. Lower-risk roles follow with lighter settings.

Pilot to production

5 phases · 1 decision
  1. Configure role settings1 week

    Set activation rules for each role in the order, starting with Global Administrator and Security Administrator.

    Who: Privileged Role AdministratorProduces: Role settings in PIM

    Move on when Every role in the first wave has activation, approval and expiry settings.

    Key decisions for this phase (1)

    Require MFA or a Conditional Access authentication context to activate?

    Recommended default: An authentication context requiring phishing-resistant MFA for the most powerful roles; MFA for the rest

    Activation can require MFA, or a Conditional Access authentication context, which lets you require a specific authentication strength, such as phishing-resistant MFA, for that role. If no policy targets the context, MFA is required instead.

    Other options: MFA for every role · Decided by: Security architect

    How to do it

    Approvers. Microsoft recommends at least two approvers per role. If none are chosen, active Privileged Role Administrators or Global Administrators approve by default.

    Reauthentication. People who signed in with strong methods recently might not be prompted for MFA on activation. Set sign-in frequency to every time in the authentication context policy to force reauthentication.

    Tickets. The ticket field is information only; PIM doesn't check it against a ticketing system.

    Watch out for (1)
    • If you: Require approval for every role with no active approvers

      What tends to happen: If all Privileged Role Administrators and Global Administrators are eligible and none are active, nobody can approve, and you're locked out of the tenant

      A better approach:

      Name approvers for every role that needs approval, and keep the emergency access accounts permanently active

  2. Pilot with a small group1 to 2 weeks

    Convert the pilot group's assignments from active to eligible, and have them activate for real work for at least a week.

    Who: Privileged Role Administrator with the pilot groupProduces: Feedback and adjusted settings

    Move on when Pilot role holders activate and complete their work without help.

    How to do it

    To roll back, an eligible assignment can be made active again from the assignment in PIM.

  3. Roll out role by role3 to 6 weeks

    For each role in the order, brief the role holders, convert active assignments to eligible, remove assignments the role model drops, and check activations.

    Who: Privileged Role AdministratorProduces: Eligible assignments for each role

    Move on when Each role has no active assignments except the emergency access accounts.

    How to do it

    Keep zero permanently active assignments for roles other than the emergency access accounts. Set eligible assignments to expire where the role model says access is temporary.

    Watch out for (1)
    • If you: Convert assignments without telling role holders

      What tends to happen: Admins find they can't do their work during an incident and ask for permanent access back

      A better approach:

      Brief each team before its role converts, with a short guide to activating

  4. Turn on alerts and audit1 week

    Configure PIM security alerts and a weekly review of activations and audit events.

    Who: Security architectProduces: Alerts and an audit routine

    Move on when Alerts are configured, and the first weekly audit review has run.

    How to do it

    Alerts. PIM alerts include roles assigned outside PIM (high), potential stale accounts in a privileged role (medium), too many Global Administrators, roles that don't require MFA for activation, administrators not using their roles and roles activated too often. Microsoft's plan suggests reading audit events weekly and exporting them monthly.

    Licences. Everyone with an eligible or time-bound assignment, and everyone who approves activations, needs Microsoft Entra ID P2 or ID Governance; with Microsoft 365 E5 they're covered.

  5. Hand over to operations

    Record the final settings and start the review rhythm in Review admin access on a schedule.

    Who: Identity leadProduces: Documented PIM settings and a review rhythm

    Move on when Operations owns PIM settings, alerts and access reviews.

Alongside every phase:

Read the activation history weekly during the rollout. Very frequent activations suggest a role is too narrow or the duration too short; activations never used suggest an assignment to remove.

What keeps it in place:

Role holders can only use a role by activating it, which applies the role's rules every time. The PIM alert for roles assigned outside PIM flags any assignment made around the process.

How you'll know it's working

3 measures

Capture a baseline before you start, or you won't be able to show the change.

Measures, where you see them, and the direction that means success
MeasureWhere you see itGood direction
Permanent active assignments to privileged roles, excluding emergency access accountsPIM assignments Down
Privileged roles managed in PIMPIM Up
Open PIM security alertsPIM alerts Down

Take it with you

plan, decisions, gate checks, 2 templates

Plan outline: phases and when to move on

  1. Configure role settings (1 week). Move on when: Every role in the first wave has activation, approval and expiry settings.
  2. Pilot with a small group (1 to 2 weeks). Move on when: Pilot role holders activate and complete their work without help.
  3. Roll out role by role (3 to 6 weeks). Move on when: Each role has no active assignments except the emergency access accounts.
  4. Turn on alerts and audit (1 week). Move on when: Alerts are configured, and the first weekly audit review has run.
  5. Hand over to operations. Move on when: Operations owns PIM settings, alerts and access reviews.

Decisions to record, with the recommended answer

DecisionRecommended defaultOur choice
Require MFA or a Conditional Access authentication context to activate?An authentication context requiring phishing-resistant MFA for the most powerful roles; MFA for the rest

Gate checks: questions to answer before each phase ends

Before leaving Configure role settings

  • Does every role that needs approval have at least two approvers?

Before leaving Pilot with a small group

  • Did every pilot role holder activate successfully?

Before leaving Roll out role by role

  • Have all assignments the role model drops been removed?

Before leaving Turn on alerts and audit

  • Is the alert for roles assigned outside PIM turned on?

Before leaving Hand over to operations

  • Is the first access review scheduled?

Guide for role holders

From [date], your [role] is eligible rather than permanent. When you need it, activate it in Privileged Identity Management, give a short reason and confirm with [method]. It lasts up to [hours] hours. [Approval needed from: names.] Questions: [contact].

Role conversion checklist

1. Role holders briefed [date]. 2. Settings confirmed: duration, MFA or context, approval. 3. Assignments converted to eligible. 4. Dropped assignments removed. 5. Activations checked after one week.

Microsoft Learn

5 links

Contributor

Compare notes or suggest an improvement

Your message goes straight to Sev Derghazarian.

What would you like to do?

Subject:

The send button is enabled once the spam check below completes.

Changelog

Changelog (1 version)
Published versions of this playbook
VersionDateByChange
1Sev DerghazarianFirst draft.