Domain 1 β€” Module 10 of 10 100%
10 of 28 overall
Domain 1: M365 Core Features & Objects Free ⏱ ~12 min read

PIM, Audit Logs & Identity Governance

Privileged Identity Management limits who has admin power and when. Audit logs track who did what. Identity Secure Score tells you how well you're doing. Together, they keep your tenant safe.

Why identity governance matters

Simple explanation

Think of admin roles like master keys in a building.

The more master keys floating around, the higher the risk that one gets lost, stolen, or misused. PIM says: β€œDon’t give anyone a permanent master key. Instead, give them a temporary key that works for 4 hours, then automatically stops working.”

Audit logs are the security camera recordings β€” who opened which door, when, and why.

Identity Secure Score is the safety inspector’s report β€” β€œYou’re doing well on door locks, but you need to add cameras in the parking garage.”

Privileged Identity Management (PIM)

PIM solves a critical problem: standing admin access is a security risk.

Licensing note: PIM requires Microsoft Entra ID P2 or Entra ID Governance. It’s included in M365 E5 but not E3.

How PIM works

StepWhat Happens
1. EligibleUser is made β€œeligible” for a role (e.g., Global Admin) β€” but doesn’t have it yet
2. ActivateUser requests activation when needed β€” provides justification
3. Approve (optional)Another admin approves the request
4. ActiveRole is active for a limited time (e.g., 4 hours)
5. ExpireRole automatically deactivates β€” no manual cleanup needed
Standing admin access vs PIM
FeatureWithout PIMWith PIM
Admin accessPermanent β€” 24/7/365Time-limited β€” activated when needed
If account compromisedAttacker has full admin power immediatelyAttacker gets basic user access (admin role not active)
AccountabilityHard to track who used admin powersEvery activation is logged with justification
Stale accountsOld admins keep access foreverUnused eligible roles get flagged for review
Zero Trust alignmentViolates least privilegeImplements least privilege + assume breach
Scenario: Maya uses PIM at Northwave

Maya is eligible for Global Admin but doesn’t have it permanently:

  1. Normal day: Maya has User Admin + License Admin (enough for daily work)
  2. Emergency: A critical config change needs Global Admin β†’ Maya opens PIM β†’ requests activation β†’ enters justification: β€œEmergency: Fix broken CA policy blocking all sign-ins”
  3. Approval: Jordan (CISO) gets a notification β†’ approves the request
  4. Active for 4 hours: Maya makes the fix β†’ role auto-deactivates after 4 hours
  5. Logged: The full activation chain (request, justification, approval, actions taken) is in the audit log

If Maya’s account is compromised on a normal day, the attacker only gets User Admin β€” NOT Global Admin.

Audit logs β€” who did what, when

Microsoft Entra provides two types of logs:

LogWhat It RecordsWhere
Sign-in logsEvery sign-in attempt (success/failure), device, location, CA policy appliedEntra β†’ Monitoring β†’ Sign-in logs
Audit logsAdmin actions: role changes, user creation, policy changes, app consentEntra β†’ Monitoring β†’ Audit logs

What admins use logs for

  • Troubleshooting: β€œWhy can’t this user sign in?” β†’ check sign-in logs for the failure reason
  • Security investigation: β€œDid someone access data they shouldn’t?” β†’ cross-reference sign-in + audit logs
  • Compliance: β€œProve that only authorised admins made changes” β†’ audit log shows who, what, when
  • PIM audit: β€œWho activated Global Admin this month?” β†’ PIM activity in audit logs
Exam tip: sign-in logs vs audit logs

Sign-in logs = AUTHENTICATION events (who tried to sign in, did it work, what blocked it) Audit logs = ADMIN events (who changed what configuration, created what user, consented to what app)

If the question is about β€œwhy can’t they sign in?” β†’ sign-in logs. If the question is about β€œwho changed this policy?” β†’ audit logs.

Identity Secure Score

Identity Secure Score measures your identity security posture:

  • Found in Entra admin center β†’ Protection β†’ Identity Secure Score (or Defender portal)
  • Score based on recommended actions (e.g., β€œEnable MFA for all admins”, β€œBlock legacy authentication”)
  • Each recommendation shows impact, effort, and status
  • Higher score = better security posture

Common recommendations

ActionImpact
Enable MFA for all usersHigh
Block legacy authenticationHigh
Require MFA for admin rolesHigh
Enable Self-Service Password ResetMedium
Set passwords to never expire (with MFA)Medium
Remove standing admin access (use PIM)High

Key exam concept: Identity Secure Score is a RECOMMENDATION dashboard, not an enforcement tool. It tells you what to improve but doesn’t make changes for you. Compare with Compliance Manager (Domain 2) which does the same for compliance.

🎬 Video walkthrough

Flashcards

Question

What is Privileged Identity Management (PIM)?

Click or press Enter to reveal answer

Answer

PIM provides just-in-time, time-bound, approval-based access to privileged roles. Users are 'eligible' for roles but only 'activate' them when needed β€” with justification, optional approval, and automatic expiry.

Click to flip back

Question

What's the difference between sign-in logs and audit logs in Entra?

Click or press Enter to reveal answer

Answer

Sign-in logs record authentication events (who tried to sign in, success/failure, what blocked it). Audit logs record admin/configuration events (who changed a policy, created a user, consented to an app).

Click to flip back

Question

What is Identity Secure Score?

Click or press Enter to reveal answer

Answer

A metric in Microsoft Entra that measures your identity security posture based on Microsoft's recommendations. It shows what to improve (enable MFA, block legacy auth, use PIM) but doesn't enforce changes β€” it's a dashboard, not a policy.

Click to flip back

Knowledge Check

Knowledge Check

Clearfield Council's security policy requires that Global Admin access is never permanently assigned. Which Microsoft Entra feature satisfies this requirement?

Knowledge Check

Maya notices a user's account was used to grant admin consent to a suspicious third-party app at 3 AM. Where should she investigate this activity?


πŸŽ‰ Congratulations! You’ve completed all 10 modules in Domain 1: M365 Core Features & Objects. You now understand the M365 ecosystem, admin centers, security foundations, and identity governance.

Next: Continue to Domain 2 (Data Protection & Governance) to complete your AB-900 preparation.