What Actually Breaks in Entra PIM: 3 Lessons from Recent Tenant Audits
When organisations buy Entra ID P2, the assumption is usually: “We’ve got PIM turned on, so our privileged access is sorted.”
Then you run a tenant audit, extract the actual role assignments, and look at the reality.
In theory, PIM is supposed to enforce least-privilege, time-bound, just-in-time (JIT) access. In practice, most tenants suffer from operational drift. Here are three common patterns I repeatedly uncover in audits, and how to fix them without breaking daily operations.
1. The Outsourced Service Desk with Broad Standing Admin Rights
A classic finding: an external Managed Service Provider (MSP) or outsourced L1/L2 service desk has standing administrative access across the entire tenant.
Often they have broad roles (like User Administrator, Exchange Administrator, or even Privileged Authentication Administrator) permanently assigned to individual contractor accounts or shared tenant accounts.
When you ask why, the answer is always: “They need it to reset passwords or fix mailboxes on ticket escalations.”
The Problem
- Standing risk: Those accounts sit active 24/7. If an outsourced technician’s laptop is compromised or credentials leak, the blast radius is immediate.
- No audit trail: With standing access, you have zero contextual justification logged for why someone was in the environment at 2:00 AM on a Sunday.
The Practical Fix
- Move them from Active to Eligible: Strip permanent active assignments. If they legitimately need elevated rights to resolve an escalated ticket, make them Eligible via PIM.
- Mandate ticket references on activation: Configure the PIM activation rule to require an approved ITSM ticket number and business justification.
- Cap activation duration: Limit activation to 2 to 4 hours maximum. Once the shift or ticket is done, privilege drops automatically.
- Scope down to Administrative Units (AUs): If the service desk only manages standard end-users, scope their role to an Administrative Unit so they cannot touch executive accounts or IT administrators.
2. Forgotten Project Resources & Architects (Standing Access Long After Go-Live)
During digital transformations, cloud migrations, or ERP rollouts, project teams demand access to get work done quickly.
Contract architects, third-party implementation consultants, and systems integrators are frequently handed heavy roles like Application Administrator, Cloud Device Administrator, or Security Administrator. The project goes live, drinks are had, the contractors roll off to their next gig, and six months later their standing admin access is still sitting intact in the tenant.
The Problem
Project teams rarely do their own de-provisioning. If offboarding relies on an email to an IT ticket queue that nobody sends, that elevated access remains indefinitely.
The Practical Fix
- Never grant permanent active roles to project resources: If a project team member needs elevated privilege, it should only ever be an Eligible assignment with an explicit expiration date tied to the project end-date (e.g. 90 days max).
- Automate Access Reviews: Set up an Entra Access Review specifically targeting privileged roles. Configure it to recur every 30 or 60 days, requiring project sponsors or security leads to explicitly re-attest whether that external architect still needs the role.
- Auto-remove on no response: If the reviewer ignores the access review prompt, configure PIM to automatically revoke the role assignment.
3. The “Ghost” Admins: People Who Have Roles and Don’t Even Know It
This is one of the most common, and surprising, findings for leadership during an audit walkthrough: people holding sensitive directory roles who have absolutely no idea they have them.
How does this happen?
- A senior engineer was granted a role 3 years ago to troubleshoot a one-off issue and forgot about it.
- A user was added to an M365 security group or an on-prem Active Directory group that synced into Entra and inherited a privileged role assignment.
- Someone changed jobs internally (e.g. moved from Infrastructure to a non-technical project management role), but their legacy IT privileges followed them.
The Problem
When users don’t know they have high-privilege roles, they don’t treat their account with elevated caution. They browse the web, open untrusted attachments, and click links with an account that could compromise tenant-level configurations.
The Practical Fix
- Export the raw baseline: Run a PowerShell script against Microsoft Graph (
Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance) or use an audit tool to extract every single active and eligible assignment. - The “Do you actually use this?” test: Cross-reference the role list against PIM activation history and Entra sign-in logs over the last 90 days. If an individual hasn’t activated or used their role in 90 days, revoke it immediately.
- Separate daily accounts from admin accounts: Ensure no user is logging into their daily email/Teams profile with an account holding directory privileges. Require dedicated
adm-accounts combined with PIM.
The Audit Takeaway
An Entra PIM audit doesn’t need to take 4 weeks or produce a 90-page compliance binder that sits on a shelf.
The goal is pragmatic risk reduction:
- Eliminate standing active admin roles for both internal staff and third-party service desks.
- Put expiration dates and recurring access reviews on every external consultant and project architect.
- Clean out the ghost admins who don’t need the access they’ve accumulated over the years.
Once those three baselines are enforced, your identity attack surface drops dramatically, without slowing down genuine delivery work.