Microsoft Entra PIM for App Roles Preview: What Admins Need to Configure
PIM for App Roles lets Entra admins make application roles eligible for just-in-time activation. Check activation controls, recovery access and SCIM behavior before rollout.


Microsoft Entra Privileged Identity Management (PIM) can now manage privileged roles defined inside enterprise applications. The preview, called PIM for App Roles, lets administrators assign a role as eligible so an identity can activate it when needed instead of holding that permission continuously.
That change addresses a familiar access problem: an employee may need an application’s Admin role only occasionally, yet a standing assignment remains usable until someone removes it. If the account is compromised during that period, the application privilege is exposed too. PIM for App Roles brings those assignments into PIM’s just-in-time workflow without requiring a separate group for each privileged application role.
What the preview manages
Application roles define what an identity can do in an app. Common examples include Admin, Approver and Reader. Administrators can assign roles to users, groups or other applications. When an identity signs in, Microsoft Entra ID includes its assigned role in the token; the application uses that information to determine access.
Previously, these role assignments stayed active until an administrator removed them. The preview adds PIM controls for eligible and active assignments, with either permanent or time-bound durations. Its management actions include adding assignments, controlling activation, extending or deleting assignments, adjusting settings and exporting assignment data.
Supported identities include users, groups, enterprise applications, agent blueprint principals and agent identities. Microsoft has not clarified how non-interactive identities such as agent identities activate an eligible assignment, so teams using those identity types should confirm the behavior in their own tenant.
| Capability | Preview support |
| Assignment type | Eligible or active |
| Identity types | Users, groups, enterprise applications, agent blueprint principals and agent identities |
| Duration | Permanent or time-bound |
| Management | Add, control activation, extend, delete, configure settings and export |
How it differs from PIM for Groups
Before direct app role management, a common way to provide just-in-time access was to assign the application’s privileged role to a group, then use PIM for Groups to make membership in that group eligible. For an app with Reader and Admin roles, for example, an administrator could use one group for users with active Reader access and another for users who need the Admin role. The Admin group would receive the application role, and users would activate their group membership through PIM.
That approach can work, but it adds group administration. When several applications have different privileged roles, teams may need to create and maintain a separate group for each access path. PIM for App Roles allows an eligible assignment directly to the application role, reducing that extra layer.
Configure an eligible assignment
Setup requires Microsoft Entra ID Governance licensing and an application that already has app roles defined. In the Microsoft Entra admin center, go to ID Governance > Privileged Identity Management and select App Roles (Preview). The page lists applications available in the tenant.

Before assigning a role, select the application, open Settings under Manage, choose the app role and select Edit. Review the activation controls for that role:
- Activation maximum duration (hours): Sets how long an activated role can remain active.
- On activation, require: Sets additional authentication requirements.
- Require justification / ticket information on activation: Requires a reason or ticket details.
- Require approval to activate: Sends activation requests to approvers.
- Allow permanent eligible assignment: Controls whether eligibility can remain without an end date.
For roles with broad permissions, requiring additional authentication and approval can add checks at the point of activation. The right combination depends on how the application handles access and how quickly users need to perform their work.

To create the assignment, open Assignments (Preview), select Add assignments, then use the Membership tab to choose the role and member. The member can be a user, group, enterprise application, agent blueprint principal, an agent’s user account or an agent identity.

On the Setting tab, choose Eligible if the privileged role should be activated only when needed, or Active for an assignment that is available continuously. Permanent eligibility is enabled by default. To make eligibility expire, clear Permanently eligible and set the start and end dates.

After creating an assignment, review it under Eligible Assignments. The page shows the role, application scope and membership type, such as Direct. It also provides controls to extend, delete or export assignments.
Activation and preview checks
An eligible user activates the role through ID Governance > Privileged Identity Management. Under Tasks, open My roles, select App Roles (Preview) under Activate, then find the assignment in Eligible assignments and select Activate. The role appears under Active assignments after activation, and the user can deactivate it when access is no longer required.
Microsoft Entra admin center · Privileged Identity Management

The feature is in preview, and Microsoft has not published detailed documentation for every behavior. Test an eligible assignment with a non-production app and identity, including whether activation grants access and deactivation removes it as expected. Keep at least one active Admin assignment available for recovery if activation fails during the preview.
Teams should also check whether their applications depend on SCIM provisioning. Microsoft has not documented whether activating an app role triggers SCIM provisioning. For applications that rely on SCIM, PIM for Groups may remain the better-tested route until that behavior is clear.
For administrators, the practical shift is direct management of eligible app roles in PIM, with activation requirements configured per role. Validate the access lifecycle and provisioning behavior before moving existing privileged assignments into the preview.