PIM, access reviews and entitlement management
Design time-limited elevation, recurring access reviews and access packages with clear reviewer duties.
By Invicly Tech, , in Microsoft Entra & Microsoft 365 Administration. About 11 minutes to read.
In short
Privileged Identity Management (PIM) turns standing admin rights into eligible ones: people activate a role only when they need it, for a limited time, with justification and sometimes approval. Access reviews ask named reviewers to confirm, on a schedule, that people still need their access, and entitlement management bundles groups, apps and sites into access packages that people request and that expire. Together they keep access small and provable, and they need Microsoft Entra ID P2 or Microsoft Entra ID Governance licences.
Think of it like this: PIM is a key cabinet that logs who took the master key and makes them bring it back by evening; access reviews are the yearly check of who still has a badge.
Explained simply
Admin rights are dangerous when they sit on an account all the time. If that account is phished, the attacker gets the rights too. Privileged Identity Management, or PIM, fixes this by making roles eligible. You hold the right to use a role, but it is switched off until you ask for it.
When you need the role, you activate it in PIM. You may have to pass MFA, type a reason, and wait for someone to approve. The role then works for a few hours and switches itself off. Every step is logged, so you can later show who had power and why.
Access also creeps. People change jobs, projects end, guests stay forever. An access review asks someone, such as a group owner or a manager, to confirm every few months that each person still needs access. Anyone who is denied, or not reviewed, can be removed automatically.
Entitlement management goes one step earlier. Instead of IT adding people to five groups by hand, you build an access package, such as Project Falcon member, holding the groups, apps and sites. People request it, an approver says yes, and it expires on a set date.
These features need Microsoft Entra ID P2 or Microsoft Entra ID Governance licences. A Microsoft 365 E5 developer or trial tenant often includes P2. Without one, you can still design the settings on paper using the tables in this article.
Press Play on a diagram to walk through it one step at a time.
- Admin to PIM: Activate Exchange Administrator, 2 hours, ticket CHG-1041Activate Exchange Administrator, 2 hours, ticket CHG-104
- PIM to Admin: Complete MFA2Complete MFA
- PIM to Approver: Approval request with justification3Approval request with justification
- Approver to PIM: Approve4Approve
- PIM to Admin: Role active until 16:00 UTC5Role active until 16:00 UTC
- PIM to Audit log: Record request, approval and expiry6Record request, approval and expiry
- Eligible instead of permanent roles
- Time-limited activation
- MFA, justification, approval
- Covers Entra roles, Azure roles and groups
- Recurring check of access
- Reviewers: owners, managers or self
- Auto-apply removals
- Good for guests and admin roles
- Access packages of groups, apps, sites
- Request and approval policy
- Assignments expire
- Works for partner organisations
- 1Catalog: Sales
Owned by the sales operations lead
- 2Access package: Falcon partner
What people ask for
- 3Resources
Falcon team, Falcon SharePoint site, CRM app role
- 4Policy
Fabrikam users may request, sponsor approves, 90 days
- 5Review
Sponsor confirms every 30 days
In depth
Designing PIM role settings
Each role in PIM has settings for activation and assignment. Activation settings include the maximum duration (default 8 hours, often reduced to 1 to 4 for powerful roles), whether MFA or an authentication context is required, whether a justification and a ticket number are required, and whether approval is needed and by whom. Assignment settings say whether eligible and active assignments may be permanent or must expire.
A practical baseline: Global Administrator and Privileged Role Administrator need approval and 1 hour; workload roles such as Exchange Administrator need MFA and justification but no approval; Global Reader can be active for auditors. Eligible assignments expire after 6 or 12 months and must be renewed. Emergency access accounts stay permanently active and are excluded from approval chains.
- Shorter activation for more powerful roles
- Approval only where the extra delay is worth it
- Eligibility expires and is renewed on review
- Alerts warn about roles assigned outside PIM
Groups in PIM and the help desk
PIM can also manage membership or ownership of a security group, sometimes called PIM for Groups. You make a person eligible to join a group, and the group in turn holds roles or app access. This is useful when one activation should grant several things at once, such as an Intune role plus access to a support app.
For a help desk, make the team eligible for narrow roles, such as Helpdesk Administrator scoped to an administrative unit, rather than giving everyone User Administrator. Activation then becomes a normal part of a shift, and the audit log shows exactly which engineer had which right when a password was reset.
Access reviews that actually remove access
An access review has a scope (members of a group, guests in all Microsoft 365 groups, users of an app, or holders of a role), reviewers (group owners, managers, named people, or the users themselves), a recurrence (weekly to annually) and a duration. The settings that matter most are auto-apply results and what happens if reviewers do not respond: no change, remove access, approve access, or take recommendations.
Reviewers need help to decide. Turn on decision helpers, which show whether the person signed in during the last 30 days. Send reminders. Write a short instruction for reviewers: approve only if you know the person and their current need. Then report on results: how many were reviewed, removed and ignored. A review where everyone is approved and nothing is applied is theatre.
- 1Start
Review opens for guests in Teams groups
- 2Notify
Owners get mail and reminders
- 3Decide
Approve or deny with sign-in hints
- 4Apply
Denied and unreviewed guests removed
- 5Report
Counts shared with security lead
- Back to step 1
Access packages and reviewer duties
In entitlement management you create a catalog, such as Sales, add resources (groups, Teams, apps, SharePoint sites), then build access packages from those resources. Each package has policies: who can request (staff, specific groups, or users from connected organisations such as a partner), who approves, whether a justification is needed, how long access lasts, and whether recurring reviews apply.
Write down reviewer duties as part of the design. The first approver is usually the sponsor or manager who knows the business need; the second may be the resource owner. Approvers should check identity, purpose and end date. When a partner's contract ends, external users who lose their last package can be blocked and later removed automatically, which keeps guests from lingering.
- Catalog = container owned by a team
- Access package = bundle plus policies
- Connected organisation = known partner domain
- Set an end date on every package
Learn it in 5 short steps
About 35m each. Track them with a timer in your plan.
- 1Make roles eligible in PIM~35m
- 2Require approval and justification~35m
- 3Schedule access reviews~35m
- 4Build an access package~35m
- 5Check licence prerequisites~35m
Key points
- Make admin roles eligible, not active, and keep only emergency access accounts permanently assigned.
- Require MFA and a justification on activation; require approval for the most powerful roles.
- Keep activation short, such as 1 to 4 hours, and set eligibility to expire and be renewed.
- Access reviews only work when reviewers know what they are approving and results are applied.
- Check licences first: PIM, access reviews and entitlement management need Entra ID P2 or ID Governance.
Key terms
Tap a card to flip it. 0/6 known
Examples
Make an admin eligible instead of permanent
Lab tenant with Entra ID P2 trial. Prerequisites: Privileged Role Administrator and a test user, lee@contoso.example. Steps: 1. In the Entra admin center open ID Governance, Privileged Identity Management, Microsoft Entra roles. 2. Open Roles, Exchange Administrator, Settings, and set activation to 2 hours with MFA and justification. 3. Add an eligible assignment for Lee that ends in 180 days. 4. Remove any active assignment Lee had. 5. Sign in as Lee, open My roles and activate. Evidence: an activation record in PIM audit history and Lee's role showing an end time. Rollback: remove the eligible assignment. The same step in PowerShell is below.
Connect-MgGraph -Scopes "RoleEligibilitySchedule.ReadWrite.Directory"
$role = Get-MgRoleManagementDirectoryRoleDefinition -Filter "displayName eq 'Exchange Administrator'"
$user = Get-MgUser -UserId "lee@contoso.example"
New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter @{
Action = "adminAssign"; Justification = "CHG-104 make eligible"
PrincipalId = $user.Id; RoleDefinitionId = $role.Id; DirectoryScopeId = "/"
ScheduleInfo = @{ StartDateTime = (Get-Date).ToUniversalTime()
Expiration = @{ Type = "afterDuration"; Duration = "P180D" } }
}Design a quarterly guest access review
Design-only or lab. Goal: guests in Microsoft 365 groups are confirmed every quarter by the group owner. Scope: guest users in all Microsoft 365 groups. Reviewers: group owners, falling back to the IT governance team. Duration: 14 days. If reviewers do not respond: remove access. Auto-apply: on. Decision helper: on. Evidence in a lab: owners receive the review email, results appear in the review history, and denied guests are removed from the group after the review ends. Rollback: re-add a wrongly removed guest and record why. The JSON shape below is a simplified view of the Graph access review definition.
{
"displayName": "Quarterly guest review - M365 groups",
"reviewers": "group owners, fallback: IT governance group",
"settings": {
"instanceDurationInDays": 14,
"defaultDecisionEnabled": true,
"defaultDecision": "Deny",
"autoApplyDecisionsEnabled": true,
"recommendationsEnabled": true,
"recurrence": { "type": "absoluteMonthly", "interval": 3 }
}
}Quick reference
- PIM path: Entra admin center, ID Governance, Privileged Identity Management.
- Default max activation is 8 hours; shorten it for Global Administrator.
- Keep 2 emergency access accounts permanently active and excluded from approval.
- Access reviews: set 'if reviewers don't respond' and turn on auto-apply.
- Access package = catalog resources + request policy + approval + expiry.
- Licences: Entra ID P2 or Entra ID Governance for PIM, reviews and access packages.
- PIM alerts flag roles assigned outside PIM and unused eligible roles.
Common mistakes
- Making every admin eligible but leaving no permanent, excluded emergency access account.
- Choosing reviewers who cannot judge the access, so they approve everything.
- Leaving 'If reviewers don't respond' set to no change, so ignored reviews remove nothing.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
Write a PIM settings table for three roles: Global Administrator, User Administrator, Global Reader.
- Exercise 2medium
Design an access review for members of the Finance-Admins group: scope, reviewer, recurrence, defaults and what you will report.
- Exercise 3hard
Design an access package for Fabrikam contractors on Project Falcon, including reviewer duties and what happens at contract end.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Does every user need a P2 licence for PIM?
- Licensing is based on the users who benefit, such as eligible admins and reviewed users. Check the current Entra ID Governance licensing page for your scenario.
- What if PIM is down when I need a role?
- That is why emergency access accounts are permanently active, stored safely and monitored. Use them only for genuine emergencies and record each use.
- Can guests review their own access?
- Yes, self-review is an option, but it is weak evidence. Prefer a sponsor or group owner who knows whether the work continues.