Entra PIM for app roles in Preview
- Maxime Hiez
- Entra ID
- 29 Nov, 2026
Introduction
Roles defined by an application (app roles) are assigned as active : the user holds them without having to activate them. Microsoft Entra Privileged Identity Management (PIM) now manages eligible and active assignments of these roles. The feature is documented in Preview on Microsoft Learn, the only official source found : no announcement, no Message Center or roadmap ID, no general availability date. However, deactivating an activation or letting it expire doesn’t revoke tokens or sessions that have already been issued.
What PIM brings to app roles
An administrator creates an eligible assignment instead of an active one. The person concerned activates it when needed, then deactivates it when done. The policies are similar to those of other PIM providers : approval, multifactor authentication, justification and maximum activation duration.
PIM doesn’t change what a role allows, the application still defines that. Any enterprise application that exposes roles is covered, Microsoft or third-party, even if its registration doesn’t belong to the tenant, and no onboarding step is required.
The interface is under ID Governance > Privileged Identity Management > App Roles (Preview). Eligible assignments support users, groups, agents and agent identities ; active assignments support users, groups and workload identities. For an eligible group, each member activates the role for themselves.

What deactivation doesn’t do
After activation, the application must obtain a new token before it can use the role. Conversely, deactivation or expiry doesn’t automatically invalidate tokens that have already been issued or existing application sessions. Ending an activation in PIM therefore doesn’t guarantee that access is removed from the application immediately.
This is where the promise of just-in-time access weakens : access can persist for as long as the application’s token or session. Likewise, approving a request doesn’t prove that the application has started granting access. One last detail : a role can only be deactivated after at least five minutes of activity.
On the control side, settings are configured per role : activation duration, multifactor authentication or Conditional Access authentication context, justification, ticket, approval and assignment expiry. No tenant-level switch appears in the documentation reviewed, and it describes neither a Graph call nor a PowerShell cmdlet for these roles. During the Preview, licensed tenants get access automatically, with no activation step, in all clouds.
Licensing : the pages contradict each other
The Learn pages don’t agree. Some state that a Microsoft 365 E7 license plan is required for the Preview, adding that license requirements haven’t been announced yet. Others require Microsoft Entra ID Governance licenses. The Entra ID Governance documentation states that Microsoft 365 E7 includes all of its features, which could reconcile the two versions, but none of the app roles pages says so. The PIM getting started page states that ID Governance licenses are required, not Entra ID P2 alone, for users with an eligible or time-bound assignment and for approvers. It is best to take neither for granted until you’ve checked in your own tenant.
Conclusion
The idea is a good one for app roles assigned as active, but the lack of token and session revocation reduces what PIM guarantees : access can outlive the end of the activation. As long as the feature stays in Preview, with no announcement and no settled licensing, a pilot on a low-criticality application is more reasonable than a rollout, along with a measurement of the application’s real session duration.
Sources
Microsoft Learn - Privileged Identity Management (PIM) for app roles (preview)
Microsoft Learn - Assign app roles in Privileged Identity Management (preview)
Microsoft Learn - Activate app roles in Privileged Identity Management (preview)
Microsoft Learn - Configure app role settings in Privileged Identity Management (preview)
Microsoft Learn - Start using Privileged Identity Management
Microsoft Learn - Microsoft Entra ID Governance licensing fundamentals
Did you enjoy this post ? If you have any questions, comments or suggestions, please feel free to send me a message from the contact form.
Don’t forget to follow us and share this post.