PRIVILEGED ACCESS

Make privilege temporary and reviewable

Replace standing administrator access with eligible, time-limited, recorded activation, and keep a recovery path that does not depend on it.

Last reviewed: Estimated reading time: 9 minutes

A standing administrator assignment is a door that never closes. If the account is phished, reused, or simply misused during a rushed change, the attacker or the mistake inherits every permission the role carries, around the clock. Microsoft Entra Privileged Identity Management (PIM) changes that default. Administrators hold an eligible assignment, and they activate the role for a limited time when they have a reason, with controls such as multifactor authentication, justification, and approval wrapped around the moment of elevation.

PIM is not a switch that delivers least privilege on its own. This article walks through a generic example, an organization with several people holding permanent Global Administrator, and shows the design decisions that matter, the settings Microsoft documents, and the mistakes that turn a good control into an outage.

An example: five permanent Global Administrators

Imagine a 40-person company where five people hold permanent Global Administrator because it was easier during setup. Two of them rarely sign in to the admin center at all. Nobody can say who approved each assignment, and one admin account is shared between two people. This is an invented but common pattern, and it has three problems: too many people with the strongest role, no record of why, and no expiry.

Microsoft's role guidance recommends assigning Global Administrator to fewer than five people. The fix starts with fewer people holding the role, narrower roles for everyday tasks, and PIM for whatever privilege remains.

Know the four assignment types

PIM distinguishes two kinds of assignment, eligible and active, and lets you give each a start and end time. Microsoft's deployment plan lists the four combinations.

PIM assignment types and when each fits
TypeWhat it meansTypical use
Permanent eligibleThe person can always activate the role, but holds no access until they do.The default for most administrators.
Time-bound eligibleThe person can activate only between a start and an end date.Contractors, project work, or a planned review cycle.
Time-bound activeThe role is usable without activation, but only between the dates.A defined short-term need that cannot wait for approval.
Permanent activeThe role is always usable with no activation step.Emergency access accounts, and very little else.

Microsoft's guidance is to keep zero permanently active assignments for roles other than your emergency access accounts. There is no difference in access between an eligible and a permanent assignment while the role is active. The difference is that eligible users do not hold it all the time.

Privileged role activation lifecycle A vertical flow from an eligible assignment, to an activation request with multifactor authentication and justification, to optional approval, to a time-limited active role, to expiry, with audit history and access reviews feeding back into the eligible assignment. Eligible assignment No access until requested Activation request MFA, justification, ticket note Approval (if required) Named approvers, not a guess Active for a limited time 1 to 24 hours maximum Access expires Back to eligible, nothing standing Audit and review History, alerts, access reviews
Activation lifecycle: elevation becomes a deliberate, recorded event with an end time.

Choose role settings on purpose

Each role has its own settings, and the defaults are rarely the right design for a high-impact role. These are the settings Microsoft documents for Microsoft Entra roles.

Role settings and what to decide for each
SettingWhat it doesWhat to decide
Activation maximum durationSets how long an activation lasts, from 1 to 24 hours.Match the task. Microsoft's Zero Trust guidance gives 1 to 4 hours as an example for high-impact roles, while its security operations baseline uses 8 hours at most.
Require MFA on activationAsks the user to prove who they are before activating.Know that a user who recently authenticated strongly may not be prompted again. For a guaranteed fresh check, use a Conditional Access authentication context.
Require Conditional Access authentication contextMakes activation satisfy a policy, for example a phishing-resistant authentication strength or a compliant device.Design the matching Conditional Access policy first, then link it.
Require justificationRecords a business reason at activation.Decide what a useful reason looks like so entries are reviewable.
Require ticket informationAsks for a support ticket number.Treat it as a note. Microsoft states it is information only and is not checked against any ticketing system.
Require approval to activateHolds activation until an approver agrees.Name at least one approver, and Microsoft recommends at least two. See the lockout warning below.
Assignment durationDecides whether eligible or active assignments can be permanent or must expire.Require expiry for anything that is not an emergency account.

A sensible way to start

Microsoft's Zero Trust adoption guidance suggests beginning with a minimum set of privileged roles: Global Administrator, Privileged Role Administrator, Security Administrator, Exchange Administrator, and SharePoint Administrator. For each one, remove the permanent assignment and re-add the user or group as eligible, then configure activation settings.

It also recommends assigning roles to role-assignable groups rather than to individuals, then managing who can receive the role through that group. The group becomes the boundary you govern. For our example company, the practical order is:

  • Cut Global Administrator down to the smallest justified set, and move everyday work to narrower roles.
  • Convert the remaining permanent assignments to eligible, one role at a time, and test activation with a real administrator before moving on.
  • Set activation duration, MFA or an authentication context, and justification for each role. Add approval only for the highest-impact roles, with named approvers.
  • Set up access reviews so someone confirms on a schedule that each assignment is still needed.
  • Keep two emergency access accounts outside the PIM process, described next.

Keep the emergency accounts out of PIM eligibility

Microsoft recommends two or more cloud-only emergency access accounts. For these accounts specifically, assign Global Administrator as permanent active, not eligible, because a recovery path that needs MFA, a phone, or an approver can fail during exactly the incident it exists for. The same guidance covers using different, phishing-resistant authentication from your normal administrators, excluding the accounts from Conditional Access policies that could block them, alerting on every use, and validating them at least every 90 days.

Licensing can change what you have

Microsoft requires Microsoft Entra ID P2 or Microsoft Entra ID Governance licenses for users with eligible or time-bound assignments, for approvers, and for people who perform or are assigned to access reviews. It also describes what happens if the license lapses: eligible assignments are removed, and time-bound active assignments become permanent active. In other words, an expired license can quietly turn your tightly scoped design into a set of permanent administrators, or remove the eligibility people rely on.

Check what you actually have

Before changing anything, list the current assignments so you know what you are converting. This read-only example uses the Microsoft Graph PowerShell module, specifically the Microsoft.Graph.Identity.Governance module, to list eligible assignment instances and active assignment schedules. Microsoft documents RoleEligibilitySchedule.Read.Directory and RoleAssignmentSchedule.Read.Directory as the least privileged permissions for these two calls. Broader options such as RoleManagement.Read.Directory also work, but they grant more than this task needs.

READ ONLY POWERSHELLTest in non-production
# Request only the two read permissions this task needs.
Connect-MgGraph -Scopes "RoleEligibilitySchedule.Read.Directory", "RoleAssignmentSchedule.Read.Directory"

# Eligible assignment instances (who can activate which role).
Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -All |
    Select-Object PrincipalId, RoleDefinitionId, DirectoryScopeId

# Active assignment schedules, including permanent active assignments.
Get-MgRoleManagementDirectoryRoleAssignmentSchedule -All |
    Select-Object PrincipalId, RoleDefinitionId, DirectoryScopeId, AssignmentType, MemberType

The signed-in user also needs a role that allows the read. Microsoft lists Global Reader, Security Operator, Security Reader, Security Administrator, and Privileged Role Administrator as supported built-in roles for these read operations. The output uses identifiers rather than names, so resolve role and principal IDs against your directory. For each permanent active assignment that is not an emergency account, ask whether it should be eligible, time-bound, or removed. The scripts only read data, but the output is sensitive, so protect it accordingly.

More mistakes worth avoiding

Security and technical readiness

Time-bound role activation, approval records, and access reviews can support access governance and accountability objectives. For CMMC Level 2 and NIST SP 800-171 work, the settings still need to be tied to the actual system boundary, the evidence you keep, and how the process operates day to day. This article describes technical readiness only. It is not an assessment, certification, or compliance guarantee.

Sources