Email, App & Workload Threats
Defender for Office 365 AIR, ZAP and remediation · automatic attack disruption · Defender for Cloud alerts · Defender for Cloud Apps detections and OAuth apps
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Defender for Office 365: AIR and approvals
| Topic | What to know |
|---|---|
| Licence | AIR needs Defender for Office 365 Plan 2 and audit logging on (on by default). Plan 2 adds post-breach investigation, hunting, response and automation; the presence of Email & collaboration > Real-time detections is a quick way to tell Plan 2 from Plan 1. |
| What starts AIR | Alerts designed to start it: suspicious email (message, attachment, URL, compromised account), ZAP, user submissions, user click alerts, suspicious mailbox behavior. An analyst can start one with Take action in Threat Explorer, Advanced hunting, a custom detection, the Email entity page or the Email summary panel. |
| When AIR does not start | If those alerts are disabled, or were replaced by custom alerts. |
| Result | Pending remediation actions wait for SecOps. Soft deleting messages or clusters and turning off external mail forwarding are examples. AIR auto-approves actions for malicious URL and file clusters, and closes investigations where no threat is found. |
| Where to approve | Email & collaboration > Investigations (Pending actions tab), the incident's Evidence and response tab, or Actions & submissions > Action center > Pending. Select Approve or Reject. |
| Timeout | Pending actions time out after one week. |
| Permissions | Set up AIR: Organization Management or Security Administrator role group. Approve actions: the Search and Purge role (by default only Data Investigator and Organization Management). Unified RBAC: Email & collaboration advanced actions (manage). |
Built-in alert tuning rules (System > Settings > Microsoft Defender XDR > Rules > Alert tuning) suppress alerts without affecting AIR or email notifications. If AIR finds malicious activity, the alert is reactivated. They don't apply to custom detection rules or Custom TI.
Remediating delivered email and ZAP
| Item | Detail |
|---|---|
| Remediation actions | Move to inbox, move to junk, move to deleted items, soft delete, hard delete. |
| Soft delete | Moves the message to Recoverable Items\Deletions. Recoverable by the user and admins. |
| Hard delete | Purges the message and its calendar entry. Admins can recover it with single-item recovery. With unified RBAC you also need Email & collaboration content (read). |
| Direct vs two-step | Direct approval runs the action at once. Two-step: an admin without the right permission adds emails to a remediation, and approval is needed before it runs. Pending items show on the Action center Pending tab. |
| Limits | Select up to 100 emails by hand; 50 concurrent active remediations; Action center shows 30 days; batches of 50,000 or fewer are best. |
| ZAP scope | Cloud mailboxes only (not on-premises). Searches the last 48 hours of delivered mail; users aren't notified. |
| ZAP outcomes | Malware: quarantine. High confidence phishing: quarantine. Phishing: follows the Phishing verdict action (Move to Junk or Quarantine act; add X-header, prepend subject, redirect and delete: no action). Teams: internal chats with malware or high confidence phishing only. |
- Find ZAP activity with Threat Explorer: All email tab, Additional action = ZAP. ZAP isn't logged in Exchange mailbox audit logs.
- Recipients can only request release of messages quarantined as malware or high confidence phishing.
Automatic attack disruption
Attack disruption correlates signals from endpoints, identities, email and SaaS apps into a high-confidence incident, then contains the assets the attacker uses. It acts at the incident level, and every automatic action can be undone by your team.
| Action | Product |
|---|---|
| Contain device, Contain IP, Isolate device, Contain user | Defender for Endpoint |
| Disable user | Defender for Identity |
| Revoke user session, Suspend user in Entra | Microsoft Entra ID |
| OAuth app compromise | Defender for Cloud Apps |
| Attach deny policy to AWS user, Suspend user in Okta | Microsoft Sentinel connectors (preview) |
- Visible as an Attack Disruption tag in the queue and on the incident, plus a yellow banner on the incident page.
- Device group Remediation level (System > Settings > Endpoints > Device groups): Full is recommended; Semi automation still lets disruption trigger without manual approval; No automated response excludes the group.
- Prerequisites: mailboxes in Exchange Online with MailItemsAccessed, UpdateInboxRules, MoveToDeletedItems, SoftDelete and HardDelete audited; Defender for Identity sensor on the domain controller, with auditing and action accounts; Defender for Cloud Apps Microsoft 365 connector with all checkboxes selected; Sense agent v10.8470 or later for Contain user.
- Automatic device isolation is in preview, per Microsoft Learn. Okta and AWS support is preview; Entra ID and Active Directory are generally available.
Defender for Cloud alerts and incidents
| Item | Detail |
|---|---|
| Where | Azure portal: Microsoft Defender for Cloud > Security alerts. |
| Retention | Alerts show for 90 days, even if the resource was deleted. |
| Severity | High (likely compromised, act right away), Medium, Low (may be benign or blocked), Informational (may matter as part of an incident). |
| Incident | A collection of related alerts, correlated by Defender for Cloud. |
| Take action tab | Inspect resource context, Mitigate the threat, Prevent future attacks, Trigger automated response (logic app), Suppress similar alerts. |
| Close out | Change status to Dismissed; bulk change with checkboxes and Change status. |
| Export | Download CSV (one time), continuous export (Log Analytics, Event Hubs), Microsoft Sentinel connector. |
Suppression rules and workflow automation
| Feature | Key points |
|---|---|
| Suppression rule | Matching alerts become Dismissed. Security admin or Owner create and delete; Security reader or Reader view. Subscriptions: portal or REST API. Management group: Azure Policy. Applies only to alert types already triggered once. Name 2-50 characters. Simulate to test. Deleting a rule doesn't change alerts it already dismissed. |
| Workflow automation | Triggers consumption logic apps on alerts, recommendations and regulatory compliance changes. Needs Security admin or Owner on the resource group. Logic App Operator can only run logic apps; Logic App Contributor creates and edits. Use the trigger When a Defender for Cloud Alert is created or triggered; the legacy response trigger doesn't open logic apps. |
| Sample alerts | Subscription Contributor creates them from the alerts toolbar; they test SIEM, workflow automation and email setup. They use simulated resources. |
Defender for Cloud Apps: detections, governance and OAuth apps
| Item | Detail |
|---|---|
| Classify | True positive (confirmed malicious), benign true positive (suspicious but authorized, such as a pen test), false positive (nonmalicious). |
| Impossible travel, true positive | Suspend the user, mark as compromised, reset the password. |
| Impossible travel, untagged VPN | Dismiss the alert, add the VPN IP range to Defender for Cloud Apps and tag it. |
| Infrequent country | Seven-day learning period with no alerts for new locations. Benign: dismiss and exclude the user or a frequent-traveler group. |
| Tuning | Configure IP ranges; scope policies to or away from users and groups; impossible-travel sensitivity (Low: system, tenant and user suppressions; Medium: system and user; High: system only); activity policies: volume, filters, daily alert limit. |
| Alert delivery | Email, SIEM, Power Automate. |
| Governance action | Applies to |
|---|---|
| Suspend user, Require user to sign in again, Confirm user compromised (sets risk to high) | Activities |
| Put in user quarantine, Put in admin quarantine, Remove external users, Make private, Trash | Files |
- Risky OAuth apps: filter Permission level high severity with Community use not common; use the saved query Apps authorized by external users; look at apps authorized by few users or whose permissions don't match their purpose.
- In the app drawer use Related activities and Consent activities. Remediate by banning or revoking the app, or with a policy that revokes automatically.
- With app governance turned on, the same functions are on the App governance page.
File policies retire on January 6, 2027. Migrate to Microsoft Purview DLP or auto-labeling policies.
Exam Tips
Tick each tip once you can answer it without looking.
“Pending AIR action in Defender for Office 365; where to approve?” → Investigations page, the incident's Evidence and response tab, or Action center > Pending. Trap: Pending actions time out after one week, and they aren't taken automatically.
“AIR in Defender for Office 365 requires?” → Plan 2 licence and audit logging on (default). Trap: Real-time detections under Email & collaboration is a quick way to tell Plan 2 from Plan 1.
“Role needed to get email remediation actions approved” → Search and Purge (Data Investigator, Organization Management by default). Trap: Admins can take the action without it, but approval needs it. Hard delete under unified RBAC also needs Email & collaboration content (read).
“How far back does ZAP look, and where?” → Last 48 hours, cloud mailboxes only. Trap: On-premises mailboxes aren't covered, and users aren't notified.
“ZAP on high confidence phishing or malware” → Quarantine; recipients can only request release. Trap: Ordinary phishing follows the anti-spam Phishing verdict action (Junk or Quarantine), not always quarantine.
“Remove delivered mail but keep it recoverable by the user” → Soft delete (Recoverable Items\Deletions). Trap: Hard delete purges it; admins can recover it only with single-item recovery.
“Automatic attack disruption scope” → Acts at the incident level on assets the attacker uses; actions can be undone. Trap: It isn't single-indicator blocking.
“Keep a device group out of attack disruption” → Set its automation level to No automated response. Trap: Semi automation still lets disruption trigger without manual approval; Full is recommended.
“Disable user vs Revoke user session in attack disruption” → Disable user: Defender for Identity. Revoke user session: Entra ID.. Trap: Contain user belongs to Defender for Endpoint.
“Defender for Cloud alert matches a suppression rule” → Status becomes Dismissed; still listed. Trap: Deleting a rule doesn't restore alerts it dismissed; management group scope needs Azure Policy.
“Logic app on a Defender for Cloud alert” → Workflow automation with trigger 'When a Defender for Cloud Alert is created or triggered'. Trap: The legacy response trigger doesn't open logic apps; Logic App Operator can't create or edit.
“Test SIEM and workflow setup without a real attack” → Sample alerts (Subscription Contributor). Trap: They use simulated resources.
“Impossible travel alert from a sanctioned VPN” → Dismiss, add and tag the VPN IP range. Trap: Suspend and reset is for a confirmed true positive.
“Governance action that sets a user's risk to high” → Confirm user compromised. Trap: Suspend user is reverted if on-premises AD syncs and overrides Entra settings.
“Hunt for risky OAuth apps” → Permission level high severity + Community use not common; authorized by few or external users. Trap: Popular apps used widely are more likely safe; check purpose versus permissions.
“Defender for Cloud Apps file policies” → Retire January 6, 2027; migrate to Purview DLP or auto-labeling. Trap: Migrate before they retire to keep file-based data protection.
Sources
- Automated investigation and response in Defender for Office 365
- Review and manage remediation actions in AIR
- Remediate malicious email delivered in Office 365
- Zero-hour auto purge
- Microsoft Defender for Office 365 overview
- Automatic attack disruption
- Configure automatic attack disruption
- Security alerts and incidents in Defender for Cloud
- Manage and respond to security alerts
- Suppress alerts from Defender for Cloud
- Workflow automation in Defender for Cloud
- Validate alerts in Defender for Cloud
- Detect suspicious user activity using UEBA
- Investigate anomaly detection alerts
- Governing connected apps
- Investigate and remediate risky OAuth apps
Checked against Microsoft Learn on November 13, 2026.