Cyber Intelligence
Plan and Implement Identity Governance · 25-30% of exam

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 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 break-glass accounts or service accounts that cannot perform interactive activation.

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: For the Global Administrator role, Microsoft recommends: require MFA, require approval, set maximum activation to 1 hour, and limit permanent eligible assignments to break-glass accounts only.

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 break-glass accounts or non-interactive service accounts
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 break-glass emergency access accounts in PIM?