L13. Privileged Identity Management: Just-in-Time Access
Video generating
Check back soon for the video lesson on Privileged Identity Management: Just-in-Time Access
Master Privileged Identity Management (PIM) for the SC-300: configure eligible vs active role assignments, set up approval workflows, enforce just-in-time access activation, and manage time-bound privileged access to both Entra ID and Azure resource roles.
What Is PIM?
Privileged Identity Management (PIM) provides just-in-time (JIT) and time-bound access to privileged roles. Instead of permanently assigning admin roles, users are made eligible and must activate the role when they need it. This reduces the attack surface by minimizing standing privileged access. Licensing: Entra ID P2 is required for PIM.
Eligible vs Active Assignments
| Assignment Type | Description | Access |
|---|---|---|
| Eligible | User can activate the role when needed | No access until activated |
| Active | User has the role permanently (or time-bound) | Immediate access |
PIM Scope
PIM manages two categories of roles:
- Entra ID roles: Global Administrator, User Administrator, Security Administrator, etc.
- Azure resource roles: Owner, Contributor, Reader, custom roles at subscription/resource group/resource scope
Activation Workflow
When a user activates an eligible role:
- User navigates to PIM and selects the role to activate
- User provides a justification and selects activation duration (within configured limits)
- If approval is required, the request goes to designated approvers
- If MFA is required, the user must complete MFA
- Once approved (or auto-approved), the role is active for the specified duration
- After the duration expires, the role is automatically deactivated
Role Settings
For each role, you configure:
- Maximum activation duration: How long the role stays active (default: 8 hours, max: 24 hours)
- Require MFA on activation: Forces MFA verification before activation
- Require justification: User must explain why they need the role
- Require approval: One or more approvers must grant the activation request
- Require ticket information: Integrates with ticketing systems (ServiceNow, etc.)
- Allow permanent eligible assignment: Whether eligible assignments can be made without end date
- Allow permanent active assignment: Whether active assignments can be permanent
PIM Alerts
PIM generates alerts for security concerns:
- Roles being activated too frequently
- Roles assigned outside of PIM
- Potential stale role assignments
- Redundant role assignments
- Too many Global Administrators
Access Reviews in PIM
PIM integrates with access reviews to periodically verify that eligible and active role assignments are still appropriate. You can create recurring access reviews for any PIM-managed role.
PIM for Groups
PIM for Groups extends JIT access to group membership. Users can be made eligible members or eligible owners of a group. When the group is used for role assignment (role-assignable groups), PIM for Groups effectively provides JIT access to any role or permission granted through group membership. Exam tip: PIM for Groups requires the group to be created as a role-assignable group. Regular security groups cannot be managed through PIM. This is a common exam trap.
- ✓PIM requires Entra ID P2 licensing and manages both Entra ID roles and Azure resource roles
- ✓Eligible assignments have no access until activated; active assignments provide immediate access
- ✓Maximum activation duration is 24 hours; default is 8 hours per activation
- ✓For Global Administrator: require MFA, require approval, and limit activation duration to 1 hour
- ✓PIM for Groups requires role-assignable groups: regular security groups cannot be managed through PIM
- ✓Active assignments should only be used for break-glass accounts or non-interactive service accounts
1. What is the maximum activation duration that can be configured for a PIM role assignment?
2. A security team wants to use PIM for Groups to provide just-in-time access to a set of Azure resources. What type of group must they create?
3. Which assignment type should be used for break-glass emergency access accounts in PIM?