Skip to content

Identity · Runbook

Entra PIM baseline: roles, approvals, alerts and audit

• 14 min read

How to run Privileged Identity Management day to day: licensing, eligible assignments, role settings, approvals, alerts, audit and lockout traps.

  • Effort: Varies by tenant
  • Risk: Medium
  • Rollback: Yes

Applies to: Microsoft Entra · Azure

On this page
  1. What it is
  2. Who is affected
  3. Why it matters
  4. Decisions to make
  5. Runbook
  6. Checks
  7. Rollback
  8. Common pitfalls
TL;DR
  • Microsoft Learn says PIM needs Microsoft Entra ID P2 or Microsoft Entra ID Governance licences. If the licence expires, eligible assignments are removed and time-bound active assignments become permanent.
  • Learn recommends zero permanently active assignments, apart from your emergency access accounts. Make people eligible and have them activate.
  • Role settings are per role (and per resource, and per group role). Set them deliberately: Learn’s role settings cover activation duration, MFA and approval.
  • Approval without named approvers, plus no active admins, can lock you out of the tenant. Use specific approvers and keep the emergency accounts.
  • Turn on alerts and keep audit data. The portal holds 30 days of PIM audit history.
Source and what to verify

Checked on 2026-10-15 against these Microsoft Learn pages:

To confirm in your tenant before acting:

  • Conditional Access status. Learn’s deployment plan labels Conditional Access in PIM as “Public preview”. The licensing page lists “PIM Conditional Access Controls” with no preview tag. Microsoft’s own wording is inconsistent, so confirm the status in your tenant’s Message Center before you build a control on it.
  • Licensing cost. The Learn pages above give licence names and requirements but do not state pricing. Check cost with your licensing provider or agreement before you commit.
  • Portal labels. Menu names move. Treat the paths below as Learn’s wording and confirm them in the portal.

What it is

Learn describes PIM as time-based and approval-based role activation. It covers Microsoft Entra roles, Azure resources and PIM for Groups.

The key idea is eligible versus active:

  • Eligible: the user must take an action (activate) to use the role.
  • Active: no action needed.

Learn is clear that access is the same either way. The only difference is that some people do not need it all the time.

Assignments come in four shapes: permanent eligible, permanent active, time-bound eligible and time-bound active. The deployment plan says to keep zero permanently active assignments for roles other than your emergency access accounts.

Who is affected

  • Anyone holding a privileged role who would move from standing access to activate-on-demand.
  • Approvers. Learn says licences are needed for users with eligible or time-bound assignments, users who can approve or reject activation requests, and access review assignees and reviewers.
  • Whoever manages the settings. For Entra roles you need at least Privileged Role Administrator to manage PIM role settings. For Azure resource roles it is Owner or User Access Administrator.
  • Conditional Access admins. Learn says people who can manage Conditional Access policies can weaken or block PIM activation requirements, so treat them as highly privileged.
  • Service principals. Learn says they cannot be made eligible for Entra roles, Azure roles or PIM for Groups. They can have a time-limited active assignment.

Who can manage assignments for others:

ScopeWho Learn says can do it
Entra rolesPrivileged Role Administrator or Global Administrator
Azure resource rolesSubscription administrator, resource Owner or User Access Administrator

For PIM for Groups policies, Learn says role-assignable groups need a Microsoft Entra role such as Privileged Role Administrator or Global Administrator, or active ownership of the group. For non-role-assignable groups, roles such as Groups Administrator or Identity Governance Administrator, or active group ownership, are enough.

Why it matters

  • Standing access is the risk. Learn says PIM provides time-based and approval-based activation to mitigate the risks of excessive, unnecessary or misused access permissions.
  • Licence lapse changes behaviour. Learn says that if the P2 or Governance licence expires, eligible assignments are removed, active time-bound assignments become permanent, PIM settings are removed, and PIM alerts and emails stop. That applies to Entra roles, Azure resources and PIM for Groups. A lapse turns a tidy model into a pile of permanent admins.
  • Misconfigured approval can lock you out. Learn lists the conditions: approval required, no approvers configured, and every Privileged Role Administrator and Global Administrator only eligible with none active.
  • Coverage has gaps. The Azure “assigned outside of PIM” alert only covers subscription scope. More on that below.

Decisions to make

Microsoft’s published material does not confirm recommended default activation durations beyond example tables. The deployment plan’s example of 1 hour for Global Administrator is an example, not guidance. Decide these yourself:

  • Activation maximum duration. Learn says it can be set from 1 to 24 hours. Shorter is tighter. Longer means fewer interruptions. Pick per role.
  • Approval or not. Approval adds a human gate and a delay. Learn gives approvers 24 hours to act, and says the window is not configurable. Keep approval for the roles where you want a second pair of eyes.
  • Approvers. At least one is required. Learn recommends at least two for redundancy.
  • Fresh authentication on every activation. This needs Conditional Access authentication context. See the runbook and the preview note above.
  • Eligible and active duration. Learn says you can choose permanent or time-limited separately for eligible and active assignments.

Runbook

  1. Confirm licensing

    Learn says you need Microsoft Entra ID Governance or Microsoft Entra ID P2 licences to use PIM and all of its settings. Check that everyone in the groups Learn lists is covered: eligible and time-bound users, approvers, and access review assignees and reviewers. Note the Azure mobile app option: Learn says it needs a P2 or EMS E5 licence for the signed-in user.

  2. Protect emergency access first

    Learn recommends two cloud-only emergency access accounts permanently assigned Global Administrator. These are the one exception to zero permanently active assignments.

    Learn also describes two safeguards. You cannot remove the last active Global Administrator assignment. A time-bound last-remaining Global Administrator assignment, active or eligible, is not removed at expiry. Treat these as a safety net and not as a plan.

  3. Start with the highest-impact roles

    Learn’s rollout guidance: put Global Administrator and Security Administrator under PIM first, because they can do the most harm if compromised. It also says to use the Privileged label to find the other high-privilege roles.

  4. Make people eligible

    1. Sign in to the Microsoft Entra admin center as at least Privileged Role Administrator.
    2. Go to ID Governance > Privileged Identity Management > Microsoft Entra roles > Roles, then Add assignments.
    3. Choose Eligible or Active, and a permanent or time-bound duration.

    Things Learn flags:

    • PIM supports built-in and custom roles.
    • An assignment cannot last less than five minutes and cannot be removed within five minutes of being assigned.
    • Assigning a built-in Entra role to a guest user elevates the guest to the same permissions as a member user.
    • Groups and agent identities can also be assigned through PIM.
  5. Set the role settings

    Role settings are per role, and Learn says they are also called PIM policies.

    1. As at least Privileged Role Administrator, go to ID Governance > Privileged Identity Management > Microsoft Entra roles > Roles.
    2. Select the role, then Role settings, then Edit.
    3. Set the activation maximum duration (1 to 24 hours), whether MFA is required on activation, and whether approval is required.
    4. Select Update.

    The ticket information field is informational only. Learn says correlation with any ticketing system is not enforced, so do not treat it as a control.

    Learn also says PIM cannot enforce MFA when a user uses an active assignment, because they are active from the moment it is assigned. MFA can only be enforced when the assignment is created. That is another reason to keep standing active assignments to a minimum.

  6. Add approval for the sensitive roles

    In the same role settings, require approval and choose specific approvers.

    • Approvers do not need a role for Entra roles.
    • Select at least one approver. Learn recommends at least two.
    • If you select none, Learn says active Privileged Role Administrators or Global Administrators become the default approvers. That is how the lockout condition arises when everyone is only eligible.
    • Approvers cannot approve their own requests, and service principals cannot approve.
    • The first approver to respond resolves the request.
    • Approvers act at ID Governance > Privileged Identity Management > Approve requests.
    • Learn says multi-step approvals are not supported in the Graph approval API for Entra roles, and extend and renew requests cannot be approved through the Graph API.
    • Learn says extend and renew requests need approval from a Global Administrator or Privileged Role Administrator.
  7. Decide on fresh authentication at activation

    Learn says the MFA requirement on activation may not prompt if the user already did MFA in the session or used strong credentials. To force fresh authentication, Learn points to the Conditional Access authentication context setting with authentication strengths.

    Check the preview status in the verify callout first. If you go ahead, Learn’s order and rules are:

    1. Create and enable the Conditional Access policy for the authentication context before configuring it in PIM.
    2. For reauthentication on every activation, the policy must use sign-in frequency Every time. Learn says a 10-minute window then applies after a user reauthenticates, across Entra roles, Azure resource roles and PIM for Groups.
    3. The MFA fallback applies only if no Conditional Access policy targets the context. Learn says it is not triggered if the policy is off, in report-only mode, or excludes the eligible user.
    4. Do not scope one policy to both the authentication context and a directory role. Learn says activation-time requirements will not stop use of the role from another device afterwards, so use a second policy that targets directory roles.
  8. Configure alerts

    For Entra roles, Learn says only Global Administrator, Privileged Role Administrator, Global Reader, Security Administrator and Security Reader can read PIM security alerts. To customise them, go to ID Governance > Privileged Identity Management > Microsoft Entra roles > Alerts > Setting as at least Privileged Role Administrator.

    Worth knowing:

    • The High-severity alert “Roles are being assigned outside of Privileged Identity Management” can be enabled or disabled, with its email notification. Learn says such assignments are not properly monitored and might indicate an active attack. Leave it on unless you have a reason.
    • The Low-severity alert “Roles don’t require multifactor authentication for activation” has an in-portal mitigation that makes MFA required for activation of the role.
    • Learn gives these threshold ranges: “Administrators aren’t using their privileged roles” 0 to 100 days; stale accounts 1 to 365 days; “too many Global Administrators” a minimum count of 2 to 100 plus a percentage; “activated too frequently” 2 to 100 activations within a set timeframe.
    • The “too many Global Administrators” alert fires only when both the count and the percentage are met.

    For Azure resources, go to ID Governance > Privileged Identity Management > Azure resources, select the subscription, then Alerts > Setting, signed in as at least Privileged Role Administrator. Learn lists “Too many owners assigned to a resource” (Medium), “Too many permanent owners assigned to a resource” (Medium), “Duplicate role created” (Medium) and “Roles are being assigned outside of Privileged Identity Management” (High).

    Learn says the Azure “assigned outside of PIM” alert fires only for role assignments at subscription scope. It is not triggered for management groups, resource groups or resources. Do not treat it as full coverage.

  9. Repeat for Azure resource roles

    Learn says settings are per role and per resource, and are not inherited. Settings on a subscription do not carry down to a resource group.

    1. Go to ID Governance > Privileged Identity Management > Azure resources.
    2. Select the resource, then Settings.
    3. Set each role you care about.

    You need Owner or User Access Administrator to manage these settings. Unlike Entra roles, Learn says Azure resource roles have no default approvers, so name them.

  10. Repeat for PIM for Groups

    Learn says settings are defined per role (Member or Owner) per group, and are independent of each other.

    1. Go to ID Governance > Privileged Identity Management > Groups and select the group.
    2. Select Settings, then Member or Owner, then Edit, then Update.

    Learn’s points for groups:

    • Approvers need not be members or owners. At least one is required, two are recommended, and there are no default approvers.
    • Activation maximum duration is 1 to 24 hours, as for Entra roles.
    • Do not scope one Conditional Access policy to both the authentication context and the group. Learn says that during activation the user has no group membership yet, so the policy would not apply.
    • PIM does not support groups in Restricted Management Administrative Units.
    • Group admins and owners can also change groups through the Groups experience. Learn says this overrides changes made in PIM.
  11. Sort notifications

    Learn says the sender is MSSecurity-noreply@microsoft.com (display name Microsoft Security), with a “PIM” subject prefix. It says azure-noreply@microsoft.com is deprecated, so update mail rules to allow the new sender.

    Notification settings are on the Notifications tab of role settings, with an option for critical emails only. Learn caps notifications at 1000 recipients per event.

    Know who gets what:

    • Azure resource roles: permanent Owners, eligible Owners and User Access Administrators.
    • PIM for Groups: approval and assignment emails go to permanent Owners only, not eligible owners.
    • The weekly Entra roles digest goes to Privileged Role Administrators, Security Administrators and Global Administrators who have enabled PIM. Learn says it is available for public cloud only.

    Approval emails can lag. Learn says 90% take 3 to 10 minutes, and up to 15 minutes for some. If a request is approved in the portal before the first email is sent, that email is not sent to other approvers. Learn says that is expected.

  12. Test an activation end to end

    With a test account that is eligible:

    1. Go to ID Governance > Privileged Identity Management > My roles > Microsoft Entra roles and select Activate.
    2. Complete any verification, optionally narrow the scope or set a custom start time, and give a reason.
    3. If approval is required, the request shows as pending. Pending requests can be viewed and cancelled under My requests. After cancelling, the user must submit a new request.

    Learn says activation adds the active assignment within seconds, but applications may cache role state, so users may need to sign out and back in. It also says a role cannot be deactivated within five minutes of activation.

  13. Set up audit and retention

    To view PIM audit history, sign in as Global Administrator, Global Reader, Privileged Role Administrator, Security Administrator or Security Reader. Go to ID Governance > Privileged Identity Management > Microsoft Entra roles > Resource audit. My audit shows a user’s own activity.

    Learn says the data covers the past 30 days. To keep it longer, use Azure Monitor Diagnostic Settings to route Entra logs to an Azure storage account or Log Analytics. Learn’s deployment plan suggests at least one administrator reads all audit events weekly and exports them monthly.

    To correlate events for one activation, Learn says CorrelationId can differ across a scheduled or approval-gated activation. Use roleAssignmentRequestId from Additional details instead. Learn’s Log Analytics example filters AuditLogs with AdditionalDetails has roleAssignmentRequestId. Confirm the exact query shape against Learn and your workspace before saving it.

Checks

  • Every user with eligible, time-bound, approver or access review roles has a P2 or ID Governance licence.

  • Two cloud-only emergency access accounts hold permanent active Global Administrator, and nobody else holds permanent active privileged roles.

  • Global Administrator and Security Administrator are managed through PIM.

  • Each role you care about has deliberate role settings for activation duration, MFA and approval.

  • Every role that needs approval has at least two named approvers.

  • Any Conditional Access policy behind an authentication context is enabled, not report-only, and does not exclude eligible users.

  • No single Conditional Access policy targets both an authentication context and a directory role or group.

  • Azure resource role and PIM for Groups settings are set per resource and per group role, not assumed inherited.

  • The Microsoft Security sender is allowed in mail rules.

  • Someone reads the PIM audit history weekly, and audit data is exported or routed to Log Analytics or storage.

  • A test activation, including an approval, works end to end.

Rollback

  • Back to active. Learn says you can switch an eligible assignment back to active with Make active, from the ellipsis menu on the eligible assignment.
  • Settings. Role settings use the same path as before: select the role, Role settings, Edit, Update. Revert the value you changed.
  • Timing. Learn says an assignment cannot be removed within five minutes of being assigned. Allow for that when you reverse a change.
  • Lockout. If approval has locked admins out, use an emergency access account to fix the approvers.
  • Licence lapse. Learn lists what happens when the licence expires: eligible assignments are removed and time-bound active assignments become permanent. Check your licence renewal dates so that does not catch you out.

Common pitfalls

  • Approval with no named approvers. Learn says the default approvers are active Privileged Role Administrators or Global Administrators. If all are eligible, nobody can approve.
  • Assuming eligible means less access. Learn says access is the same. The difference is when.
  • Standing active assignments. Learn says PIM cannot enforce MFA at use time for these. Only creation time.
  • Assuming settings inherit. Azure resource role settings are not inherited from subscription to resource group.
  • Trusting the Azure outside-of-PIM alert. It covers subscription scope only.
  • Treating the ticket field as a control. It is informational only.
  • Conditional Access gaps. Policy off, report-only or excluding the user means the PIM fallback is not triggered. Check the preview wording before relying on it.
  • Letting Conditional Access admins sprawl. Learn says they should be treated as highly privileged.
  • Forgetting the 24-hour approval window. Learn says after 24 hours the user must resubmit, and the window is not configurable.
  • Expecting instant role effect. Applications may cache role state. Users may need to sign out and back in.
  • Old mail rules. Learn says azure-noreply@microsoft.com is deprecated. Allow the new sender.
  • Assuming 30 days is enough. Learn says the portal covers the past 30 days. Export if you need longer.