Identity & Purview Threats
Purview Insider Risk Management, DLP and alert policies · Entra ID Protection investigation and remediation · revoking access · Defender for Identity alerts and remediation actions
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Microsoft Purview alerts and cases
| Solution | Investigate and act |
|---|---|
| Insider Risk Management | Alert status: Needs review, Confirmed, Dismissed, Resolved; severity High, Medium, Low (can change over time if untriaged). Triage: filter Needs review, start with highest severity, then confirm and create a case, confirm and add to an existing case, or dismiss. Dismiss false positives in bulk. The User activity summary tab (needs sharing turned on in Insider Risk Management settings) lists exfiltration activities up to the past 120 days. |
| IRM cases | One user per case, status Active or Closed. Assign to a user with the Insider Risk Management, Analyst or Investigator role. Actions: send an email notice, resolve as benign, share to ServiceNow or email, escalate to eDiscovery (Premium). Case notes can't be edited or deleted. User risk score recalculated every 24 hours. |
| DLP alerts | Purview portal > Data loss prevention > Alerts. Needs the Manage alerts role plus DLP Compliance Management or View-Only DLP Compliance Management. Content preview needs Content Explorer Content Viewer. After action, set the status to Resolved. |
| Communication Compliance | Needs the Communication Compliance Analysts or Investigators role group, or reviewer in the policy. An alert groups several policy matches. Alerts page shows the last 30 days. Stores a copy of the message. |
| Alert policies | Defender portal: Email & collaboration > Policies & rules > Alert policy. Manage Alerts role creates and edits; View-Only Manage Alerts views. New or changed policies take up to 24 hours before alerts trigger. |
Sending an email notice does not close an IRM case. Select Resolve case as a follow-on step.
Microsoft Entra ID Protection: investigate
| Item | Detail |
|---|---|
| Licence and roles | Entra ID P2 or Entra Suite for full features. Global Reader: view risk reports. Reports Reader: view sign-in and audit logs. |
| Triage | ID Protection dashboard, risk reports, Impact analysis workbook, sign-in logs. If sign-ins share IP or geography, consider a Conditional Access block. Defender portal: Incidents & alerts > Alerts, Product name AAD Identity Protection. |
| Risk levels | Low, medium, high. Low persists six months; medium and high persist until remediated or dismissed. |
| Timing | Real-time detections show in 5-10 minutes; offline up to 48 hours. |
| Licence effect | Without P2, detections appear as Additional risk detected with no details. |
| Decision | Mark the user or sign-in confirmed compromised, confirmed safe, or dismiss the risk. |
| Scenario | Recommended |
|---|---|
| Atypical travel, user not legitimate | Mark sign-in compromised, password reset; block the user if the attacker can reset password or MFA. |
| Atypical travel, sanctioned VPN or known travel | Confirm sign-in safe; add VPN range to named locations in Entra ID and Defender for Cloud Apps. |
| Anomalous token, not the legitimate user | Mark compromised, password reset, block if needed, set up risk-based Conditional Access. |
| Password spray | A detection means a spray achieved a successful credential validation; unsuccessful sprays don't create one. |
Entra ID Protection: remediate
| Action | Result and notes |
|---|---|
| User completes MFA for sign-in risk | At risk to Remediated (User passed multifactor authentication). |
| Require password change (user risk policy) | User does MFA then changes the password. This is not SSPR. At risk to Remediated. |
| Admin temporary password | Needs User Administrator (plus Security Operator from ID Protection). At risk to Remediated. |
| Dismiss user risk | Security Operator is the least privileged role. Password isn't changed, so the identity isn't back in a safe state. Risk state: Dismissed. |
| Confirm user compromised | User risk set high; detection Admin confirmed user compromised added. Also: request password change, block the user, revoke refresh tokens, disable compromised devices, revoke access tokens if using CAE. |
| Confirm user safe | Removes risk and detections; user goes into learning mode. |
| Reset password | Revokes the user's current sessions. |
- Least privileged: User Administrator resets passwords; Security Operator dismisses user risk; Security Administrator creates or edits risk-based policies; Conditional Access Administrator creates or edits Conditional Access policies.
- If a risk-based policy requires a step the user can't perform, the user is blocked. Unblock by signing in from a familiar location or device, excluding the user, or disabling the policy.
- Automatic high-confidence blocks return error 50053. Unblock by adding the IP to trusted locations or using modern authentication.
- Hybrid self-remediation by on-premises password change needs password hash synchronization and the Allow on-premises password change to reset user risk setting.
Revoking a compromised user's access
- Cloud-only user, Entra admin center: Users > All users, open the user, Account status > Edit, clear Account enabled, save, then Revoke sessions on the Overview page.
- Hybrid: disable the account in Active Directory and reset the password twice (guards against pass-the-hash during replication delay).
- Disable registered devices (Cloud Device Administrator at minimum).
- Roles: User Administrator disables non-admin users; Privileged Authentication Administrator disables admin accounts.
- Access tokens last 1 hour by default; apps using access tokens lose access when the token expires.
- Entra ID can't revoke an application's own session token; the application must revoke it. Deprovisioning (app provisioning typically every 20-40 minutes) helps.
Defender for Identity alerts and remediation
| Item | Detail |
|---|---|
| Alerts queue | Defender portal: Incidents & alerts > Alerts. Shows the last seven days grouped by default. Filters: Severity, Status (New, In Progress, Resolved), Detection sources (Defender for Identity, Defender XDR), Tags. |
| Alert page | Alert story: What happened (timeline and entities) and Alert graph. Manage: change status, move to another incident, assign, comment, classify, tune. |
| Categories | Reconnaissance and discovery, persistence and privilege escalation, credential access, lateral movement. |
| Classification | TP: malicious action. B-TP: real but not malicious (pen test, approved app). FP: false alarm; the activity didn't happen. |
| Tuning | Classic: Settings > Identities > Excluded entities. Defender-format alerts: Defender alert tuning rules. |
| Automation | Defender for Identity alerts trigger AIR. |
| Remediation action | What it does | Sources |
|---|---|---|
| Disable | Disables the accounts so they can't sign in; doesn't delete the profile or data | AD, Entra ID, Okta, others |
| Enable | Re-enables disabled accounts | AD, Entra ID, others |
| Revoke session | Revokes active sessions | Entra ID, Okta |
| Mark as compromised | Marks accounts compromised in Entra ID | Entra ID |
| Force password change | Change at next sign-in | AD, Entra ID |
- Start from Assets > Identities, the identity side panel, advanced hunting or the Action center; track in the Action center.
- Needs a custom role with Response (manage) permissions in Defender unified RBAC, plus the Entra roles listed per action.
- For AD accounts only sensors on domain controllers act (not AD FS, AD CS or Entra Connect), using the sensor's local system account. Select Automatically use the sensor's local system account under Settings > Identities > Microsoft Defender for Identity > Manage action accounts; required if any sensor is v3.x.
- In Entra ID the action runs through the Microsoft-managed enterprise app
Microsoft Defender for Identity(older tenants:Radius Aad Syncer).
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Disable a user in Microsoft Entra ID | - | Update-MgUser -UserId $User.Id -AccountEnabled:$false |
| Revoke the user's Microsoft Entra refresh tokens | - | Revoke-MgUserSignInSession -UserId $User.Id |
| Disable a user in on-premises Active Directory | - | Disable-ADAccount -Identity johndoe |
Exam Tips
Tick each tip once you can answer it without looking.
“IRM alert reviewed; user needs follow-up” → Confirm and create a case (or add to an existing case); dismiss false positives. Trap: Emailing a notice doesn't close the case; use Resolve case afterwards.
“Open the DLP alerts dashboard” → Manage alerts role plus DLP Compliance Management or View-Only DLP Compliance Management. Trap: Content Explorer Content Viewer is only for content preview.
“Create or edit an alert policy in the Defender portal” → Manage Alerts role; up to 24 hours before it triggers. Trap: View-Only Manage Alerts only views.
“Least privileged role to view ID Protection risk reports” → Global Reader. Trap: Reports Reader views sign-in and audit logs, not the risk reports.
“Role to dismiss user risk / reset passwords / edit risk policies” → Security Operator / User Administrator / Security Administrator. Trap: Conditional Access Administrator edits Conditional Access policies.
“Confirm user compromised” → User risk goes high; adds 'Admin confirmed user compromised'; then block, revoke tokens, disable devices. Trap: Confirm safe removes detections; dismiss is for benign true positives.
“Dismiss user risk” → Clears risk but doesn't change the password. Trap: It doesn't bring the identity back to a safe state.
“Require password change grant control” → MFA first, then secure password change; not SSPR. Trap: SSPR is the recovery flow for users who don't know their password.
“Atypical travel from a sanctioned VPN” → Confirm sign-in safe; add range to named locations. Trap: Don't reset or block for a confirmed benign VPN.
“User blocked by a risk-based policy” → Sign in from a familiar location or device, exclude the user, or disable the policy. Trap: Error 50053 high-confidence blocks: trusted IP or modern authentication.
“Revoke a cloud-only user in the portal” → Clear Account enabled, then Revoke sessions. Trap: Reset-password-twice is the on-premises AD step.
“App session token after you revoke in Entra ID” → The application must revoke it. Trap: Entra ID can't directly revoke a session token issued by an app; access tokens last 1 hour.
“Who performs Defender for Identity actions on AD accounts?” → Sensors on domain controllers (local system account). Trap: AD FS, AD CS and Entra Connect sensors don't remediate.
“Defender for Identity role needed to take identity actions” → Custom role with Response (manage). Trap: Entra roles per action also apply.
“Revoke session or Mark as compromised on an AD-only account” → Not supported for Active Directory (Entra ID, Okta for revoke). Trap: Disable and Force password change do support AD.
“Defender for Identity B-TP” → Real but not malicious, such as a pen test. Trap: FP means the activity didn't happen.
Sources
- Investigate and remediate Insider Risk Management cases
- Insider Risk Management activities and alerts
- Get started with the DLP Alerts dashboard
- Investigate and remediate Communication Compliance alerts
- Alert policies in the Microsoft Defender portal
- Investigate risk with ID Protection
- Remediate risks and unblock users
- Provide risk feedback in ID Protection
- Risk detection types and levels
- What are risk detections?
- Revoke user access in an emergency
- Defender for Identity security alerts
- View and manage Defender for Identity alerts
- Remediate compromised identities
- What is Defender for Identity?
Checked against Microsoft Learn on November 13, 2026.