Implementing Privileged Identity Management
This lesson explains how Privileged Identity Management replaces standing access with time-limited, approved activation.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish eligible from active assignments.
- Choose role settings for a sensitive role.
- Describe the activation process.
- Explain when PIM for Groups is useful.
The problem with standing access
If an account holds Global Administrator all day, every day, then a phished password or a stolen token gives an attacker that role at any time. Yet most administrators need privileged rights for a small part of their week. Privileged Identity Management, or PIM, removes the permanent right and leaves a capability to request it. This limits exposure in time, which complements scope-based least privilege.
PIM requires Microsoft Entra ID P2 or Microsoft Entra ID Governance, and it is not part of P1. It can manage three types of access: Microsoft Entra roles, Azure resource roles at any scope, and PIM for Groups, which applies just-in-time membership or ownership of a group.
Eligible and active assignments
The central distinction is between eligible and active assignments. An eligible assignment means that the person can activate the role, but holds no rights until doing so. An active assignment is in effect at once. Each type can be permanent or time-bound, which creates a small set of possibilities.
Time-bound eligible assignments are valuable for contractors and project work: the right to activate ends on a set date with no follow-up. If a licence expires, PIM stops working and eligible assignments are removed, whereas permanent active assignments are unaffected. An organization that depends on PIM must therefore treat licence renewal as a security concern.
The following diagram follows an eligible assignment through activation.

Eligible or active?
Role settings
Each role in PIM has role settings that define how it behaves. These are configured per role rather than per person, so a sensitive role can be stricter than a routine one. The main settings are as follows.
- Activation maximum duration: from 1 to 24 hours. A shorter time reduces the exposure if a session is taken over.
- On activation, require: multifactor authentication, or a Conditional Access authentication context.
- Require justification: a typed reason, which is recorded in the audit history.
- Require ticket information: a reference to a change or incident system. PIM does not validate the ticket number.
- Require approval to activate: one or more approvers. Microsoft recommends at least two. If none is selected, active Privileged Role Administrators and Global Administrators become the default approvers.
- Assignment duration: whether eligible and active assignments may be permanent, or must expire after a period.
- Notifications: email to administrators, requestors and approvers at each stage.
Requiring an authentication context instead of plain multifactor authentication is more powerful, because it can demand a stronger condition, such as a phishing-resistant method and a compliant device, through a Conditional Access policy that targets the context. If no policy targets the context, multifactor authentication acts as the fallback.
PIM role settings
The activation experience
A user with an eligible assignment opens PIM, selects My roles and then Activate. The sequence below shows what happens for a role that demands approval.
-
Request
The user chooses a duration up to the maximum and enters a justification.
-
Verify
PIM checks multifactor authentication or the authentication context.
-
Approve
Designated approvers receive a notification and review the request.
-
Activate
The role is assigned for the requested time, and a new sign-in may be needed for it to appear in tokens.
-
Expire
The assignment ends automatically. The user can also deactivate it early.
Users can request an extension or renewal of an assignment that is ending or has ended, and this needs approval from a Global Administrator or Privileged Role Administrator. PIM also prevents the removal of the last active Global Administrator and Privileged Role Administrator.
PIM for Groups
Some access cannot be managed role by role. An organization might want a single activation to confer several Azure roles and a directory role at once, or to protect access that depends on group membership. With PIM for Groups, users are eligible for membership or ownership of a group, and that group holds the roles. Activating membership delivers everything the group has. For Microsoft Entra role assignment, the group must be role-assignable, which is a property that must be set when the group is created and cannot be added later.
Two other PIM capabilities complete the picture. Access reviews ask reviewers or the users themselves whether an assignment is still needed, and they can remove access automatically when no response arrives. Audit history records requests, activations and approvals, and can be sent to Microsoft Sentinel through Microsoft Entra diagnostic settings.
PIM for Groups
Designing PIM for a sensitive role
A company wants engineers to hold Owner on a production subscription only while they work on an approved change. Activation must last no more than four hours, must need the security lead's approval, and must use a phishing-resistant method. The right to activate must end after six months unless it is renewed. What should you configure?
Assign the engineers, preferably through a group, as eligible for Owner at subscription scope, with an assignment that expires after six months. In the role settings, set the activation maximum duration to four hours, require approval with the security lead as approver, and require justification.
For the sign-in requirement, plain multifactor authentication on activation would accept weaker methods. Instead, require a Conditional Access authentication context at activation, and create a Conditional Access policy that targets that context with the Phishing-resistant MFA strength. A permanent active assignment would meet none of these requirements, and an access review alone would only tidy up assignments rather than limit each use.
A service account with no interactive sign-in needs a role. Should the assignment be eligible or active?
Show answer
Active. An eligible assignment must be activated, and an account that cannot sign in interactively cannot do so.
Exam Tips
Remember for the exam
- PIM needs P2 or Microsoft Entra ID Governance.
- Eligible is the normal choice for people; active suits accounts that cannot activate.
- Role settings are per role, not per person.
- Use an authentication context to demand more than plain MFA at activation.
- A role-assignable group must be declared when it is created.