Skip to content
Knowledge base
Identity Security8 min readAugust 20, 2026

Just-in-Time Privileged Access: Eliminating Standing Admin Rights in Entra ID and Active Directory

Permanent administrator rights are the most valuable thing an attacker can steal. How just-in-time elevation works, how to roll it out in Entra ID and Active Directory, and how to avoid the common mistakes.

An administrator account that is always an administrator is an always-open door. It does not matter that the person is trustworthy or that the password is long: if the account is compromised on a Tuesday afternoon, the attacker gets full administrative power immediately. Just-in-time (JIT) privileged access shrinks that window from “every hour of every day” to “the minutes someone actually needed it.”

Standing versus eligible

In a standing model the admin role is assigned permanently. In a JIT model the assignment is eligible: the person holds the right to request the role, not the role itself.

Figure 1What a JIT activation looks like
AdminRequestApproverPlatform1. Ask for role, give reason2. Check MFA, policy3. Ask approval (if required)4. Approve, with time limit5. Activate role for 2 hours6. Elevated session begins7. Role expires, logged
Every step leaves a record: who asked, why, who approved, when access began, and when it ended. Expiry is automatic, so cleaning up does not depend on someone remembering.

The benefits compound:

  • Smaller exposure window. Credentials stolen outside an activation carry no admin rights.
  • Better evidence. You can answer “who used this role, when, and for what?” without reconstructing it from logs.
  • Cleaner reviews. Reviewers evaluate a short list of eligible people rather than a long list of permanent admins.
  • Cultural effect. A deliberate activation step encourages people to use the least powerful account for routine work.

Decide which access deserves which control

Not every elevated permission needs the same ceremony. Two factors help: how much damage the access can do and how often it is genuinely needed.

Figure 2Matching the control to the role
Impact if misused →

Rare and critical

Eligible only. Require approval, a ticket reference, strong MFA, and a short window. Alert on every activation.

Frequent and critical

Eligible with strong MFA from a protected workstation. Short windows, auto-approval for on-call staff, full logging.

Rare and moderate

Eligible with justification. No approval needed; review activations periodically.

Frequent and moderate

Delegated or standing role with narrow scope, reviewed regularly. Prefer a custom role over a broad built-in one.

Frequency of legitimate use →

Placement is a judgment call. If in doubt, start with the control for the higher-impact box and relax it later with evidence.

Entra ID: the practical building blocks

Microsoft Entra Privileged Identity Management (PIM) provides JIT for Entra roles, Azure resource roles, and privileged group membership, subject to the appropriate Entra licensing. The settings that matter most:

  • Eligible versus active assignments, with an optional end date on the eligibility itself.
  • Maximum activation duration, kept as short as the task allows.
  • Authentication on activation, using a phishing-resistant method for privileged roles.
  • Justification and ticket information, so activations are explainable later.
  • Approval for the highest-impact roles, with an approver who is not the requester.
  • Notifications and alerts for activations of the most sensitive roles.
  • Periodic access reviews of who is eligible, so eligibility does not become the new standing access.

Prefer narrower roles to Global Administrator wherever possible. A person who only manages helpdesk resets should never need the role that can alter authentication policy.

Active Directory: JIT without a cloud role model

On-premises there is no native “role activation” as in Entra, but the principle still applies.

  • Time-bound group membership. Active Directory supports temporary membership with an expiry, either through its optional privileged access management feature or through tooling that adds and removes membership on a schedule.
  • Empty the permanent groups. Aim for Domain Admins, Enterprise Admins, and Schema Admins to be empty or contain only break-glass accounts during normal operation.
  • Tiered administration. Admin accounts for Tier 0 are used only on protected hosts and never to sign in to lower-trust machines. See the tiered administration model explained.
  • Delegate instead of elevate. Many daily tasks, such as password resets or group membership for a defined organizational unit, can be delegated with narrow permissions and never need domain-level rights.

Break-glass accounts

JIT creates a dependency on the platform that grants the elevation. If that platform, your MFA provider, or your conditional access policy fails, you must still be able to recover.

  • Maintain at least two emergency-access accounts, cloud-only, not tied to any individual.
  • Protect them with strong, phishing-resistant authentication and store the credentials or keys securely, split between trusted custodians.
  • Alert on every sign-in to these accounts and review them afterwards.
  • Test the procedure on a schedule; an untested break-glass account is a hope, not a control.
  • Exclude them only from the specific policies that could lock you out, and document each exclusion.

A rollout plan

Figure 3A phased path away from standing admin
  1. 1

    Inventory privileged assignments

    Weeks 1–2

    List every permanent admin across Entra roles, AD privileged groups, cloud accounts, and local admin rights

  2. 2

    Separate admin accounts

    Weeks 2–4

    Dedicated admin identities, distinct from everyday accounts, with no email or browsing

  3. 3

    Make the highest-impact roles eligible

    Weeks 3–6

    Start with Global Administrator, privileged role and security roles; enable MFA, justification, and approval

  4. 4

    Remove standing membership in AD privileged groups

    Weeks 4–10

    Move to time-bound membership, tiered hosts, and delegated tasks

  5. 5

    Prove break-glass

    Before enforcing

    Create, protect, monitor, and test emergency access

  6. 6

    Review and tune

    Ongoing

    Reduce activation windows, retire unused eligibility, and measure activation patterns

Durations are illustrative. The goal is a sequence you can defend, with each phase reducing exposure on its own.

Common mistakes

  • Making everyone eligible for everything. Eligibility without scoping is just standing access with an extra click.
  • Long activation windows. Eight-hour or twenty-four-hour activations recreate standing privilege. Calibrate to the task.
  • Approval that nobody reads. Approvers need context, such as the ticket and the intended action, or they will approve everything.
  • Forgetting non-human admins. Service principals and automation with privileged roles also need scoping, ownership, and review.
  • No monitoring. JIT without alerting on unusual activations is a missed opportunity.
  • Ignoring the endpoint. Elevation on a compromised laptop is still elevation for the attacker.

Measuring success

Useful measures include the number of permanent privileged assignments (falling), the median activation duration (short and stable), the percentage of privileged roles protected by phishing-resistant MFA, the count of activations without a ticket reference, and the time to detect and review an unusual activation.

Frequently asked questions

Will JIT slow down incident response?

It can if designed poorly. For on-call roles, use pre-approved or auto-approved activation with a short window and strong MFA, and keep break-glass for platform failures.

Do we still need access reviews?

Yes. Review who is eligible and who can approve. Eligibility accumulates exactly as standing access does.

Is JIT enough on its own?

No. It reduces how long privilege exists, not how it is used. Combine it with separate admin accounts, protected workstations, monitoring, and least-privilege role design.

Further reading

About Rivitan

Rivitan helps teams reduce privileged exposure in hybrid Microsoft environments. Access Requests & Approvals supports multi-step approval and time-bound grants that expire on their own, Access Reviews apply guard rails to privileged groups, and Identity Analysis surfaces privileged exposure across the directory. To plan your rollout, book a conversation.

#PAM#PIM#Just-in-time access#Privileged access#Entra ID#Active Directory
M

Written by Mehdi Rezaei

Founder & Identity Architect — 14+ years securing Fortune 500 environments across Entra ID, Active Directory, governance, and automation. Written from real engagements, by hand.

Connect on LinkedIn

Ready to simplify enterprise IAM?

Book a free 30-minute discovery call. We'll talk through your identity estate and where the biggest wins are — platform, advisory, or both.

Book a Call