Plan and implement privileged access with PIM
PIM for Entra roles, Azure resources and groups, the request and approval process, audit history and reports, and emergency access accounts.
- 18 min
- 6 concepts
- Try it yourself
- 5-question check
Learn
Standing admin rights are a gift to attackers. Privileged Identity Management makes powerful roles eligible rather than permanent, so people activate them only when needed, for a limited time, with checks and a full audit trail.
- 1
Plan and manage Microsoft Entra roles in Microsoft Entra Privileged Identity Management (PIM), including settings and assignments
Assignments are eligible (must activate) or active (always on), and either can be time-bound or permanent. Role settings control activation: maximum duration (up to 24 hours), require MFA or an authentication context, justification, ticket information, approval and approvers, plus how long assignments can last and notification emails.
Remember: Eligible by default; active only when necessary.
- 2
Plan and manage Azure resources in PIM, including settings and assignments
PIM also manages Azure roles such as Owner, Contributor and User Access Administrator at management group, subscription, resource group or resource scope. The same eligible and active assignments and role settings apply, and PIM can discover resources and alert on permanent Owner assignments.
Remember: Make subscription Owner eligible, not permanent.
- 3
Plan and configure PIM for Groups
PIM for Groups gives just-in-time membership or ownership of a security group or Microsoft 365 group. Because groups can grant roles, app access or Azure roles, this lets you activate several permissions at once. Use role-assignable groups for Entra roles.
Remember: Activate group membership to get everything the group grants.
- 4
Manage the PIM request and approval process
Users activate from My roles in PIM, giving justification and completing MFA. If approval is required, approvers get an email and approve or deny with a reason in Approve requests; the request expires after 24 hours if nobody acts. Users can also deactivate early, extend or renew assignments with admin approval.
Remember: Unapproved requests expire after 24 hours.
- 5
Analyze PIM audit history and reports
PIM keeps resource audit and my audit history of assignments, activations and approvals, also visible in the Entra audit logs (keep them longer by sending to Log Analytics). Alerts flag risky configuration such as too many Global Administrators, roles assigned outside PIM, or roles not being used. Access reviews of PIM roles remove assignments people no longer need.
Remember: PIM alerts spot too many Global Admins.
- 6
Create and manage emergency access accounts
Keep two or more cloud-only emergency access (break-glass) accounts with permanent Global Administrator, using the
onmicrosoft.comdomain, not tied to any one person or device. Protect them with phishing-resistant methods such as FIDO2 keys stored securely, exclude at least one from Conditional Access policies that could lock you out, monitor every sign-in with alerts, and test them regularly.Remember: Two break-glass accounts, monitored, tested, cloud-only.
Eligible or active?
- No access until activated
- Activation with MFA, reason, approval
- Time-limited activation
- Recommended for most admins
- Access is always on
- No activation needed
- Use for emergency access and some service accounts
- Keep to a minimum
Try it
Change the role settings, then walk Megan through activating User Administrator.
This interactive part needs JavaScript.
In the portal
- PIM Entra rolesEntra admin center: ID Governance > Privileged Identity Management > Microsoft Entra roles
- PIM Azure resourcesEntra admin center: ID Governance > Privileged Identity Management > Azure resources
- PIM for GroupsEntra admin center: ID Governance > Privileged Identity Management > Groups
- Approve requestsEntra admin center: ID Governance > Privileged Identity Management > Approve requests
Key terms
Click a card to see the definition.
Check your understanding
5 questions. Score 80% or more and these skills are marked as confident in your SC-300 study plan.
What happens to an activation request no one approves?
Pending requests expire after 24 hours.
How many emergency access accounts are recommended?
At least two.
Which PIM feature gives just-in-time membership of a security group?
PIM for Groups manages membership and ownership.
Can PIM manage Azure subscription Owner?
PIM covers Azure roles too.
Which domain should emergency access accounts use?
Avoids dependency on federation or custom DNS.
Sources
- Microsoft Learn: What is Privileged Identity Management?
- Microsoft Learn: Configure Microsoft Entra role settings in PIM
- Microsoft Learn: PIM for Groups
- Microsoft Learn: Manage emergency access accounts
- Microsoft Learn: Approve or deny requests in PIM
Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.