Protego field desk
Plan and automate identity governance · 20-25% of exam

L13. Privileged Identity Management: Just-in-Time Access

Course outlineLesson 13 of 18
SC-300 Exam Prep: course overview

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 TypeDescriptionAccess
EligibleUser can activate the role when neededNo access until activated
ActiveUser has the role permanently (or time-bound)Immediate access
Exam tip: Eligible assignments are the default and recommended approach. Active assignments should only be used for emergency access (break-glass) accounts or non-interactive service accounts. Break-glass accounts need permanent active Global Administrator so they do not depend on PIM activation, which can fail when MFA, federation, or approvers are unavailable.

PIM Scope

PIM manages two categories of roles:

  1. Entra ID roles: Global Administrator, User Administrator, Security Administrator, etc.
  2. Azure resource roles: Owner, Contributor, Reader, custom roles at subscription/resource group/resource scope

Activation Workflow

When a user activates an eligible role:

  1. User navigates to PIM and selects the role to activate
  2. User provides a justification and selects activation duration (within configured limits)
  3. If approval is required, the request goes to designated approvers
  4. If MFA is required, the user must complete MFA
  5. Once approved (or auto-approved), the role is active for the specified duration
  6. 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
Exam tip: Use eligible assignments for routine Global Administrator access and configure activation controls such as MFA, approval, and a short activation duration. Emergency access (break-glass) accounts need permanent active Global Administrator assignments so access does not depend on PIM activation.

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.

Exam Focus Points
  • ✓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 emergency access (break-glass) accounts or non-interactive service accounts; break-glass accounts need permanent active Global Administrator without depending on PIM activation
Knowledge Check

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 emergency access (break-glass) accounts in PIM?