What this check looks at
Checks every inbound anti-spam policy sends mail it judges to be phishing, and high-confidence phishing, to quarantine rather than to the Junk Email folder or the inbox.
Every message that reaches Exchange Online is scored by the inbound anti-spam policy. When it judges a message to be phishing, or high-confidence phishing, the policy says what happens next: it can be quarantined, moved to the Junk Email folder, delivered with a header or a changed subject, redirected or deleted.
The check reads every inbound anti-spam policy and passes when each sends phishing and high-confidence phishing to quarantine (or deletes it). It fails naming each policy and action that lets caught phishing reach the person, and reports not checked when Exchange Online did not return the actions.
Why it matters
Mail already judged to be phishing that is delivered to Junk is still one click from the person it was aimed at: people open Junk looking for a missing invoice and find a convincing login page. In quarantine only an administrator can release it.
Junk Email is not a safe place for phishing. People look there for invoices and password reset emails that went missing, and a message already judged to be phishing sits next to them looking like any other. Quarantine puts it where only an administrator can release it, after checking.
Microsoft’s Standard and Strict preset security policies quarantine both, and so do most security baselines. The change costs nothing in day-to-day mail: genuine messages are rarely judged to be phishing, and when one is, it can be released from quarantine in a minute.
How to fix it
Where: Microsoft Defender portal → Email & collaboration → Policies & rules → Threat policies → Anti-spam
Before you start
- Name who releases quarantined messages, and how people ask for one they were expecting.
Step by step
- See each policy’s actions. Connect with Connect-ExchangeOnline and run Get-HostedContentFilterPolicy | Format-Table Name, PhishSpamAction, HighConfidencePhishAction to list every inbound anti-spam policy and what it does with phishing.
- Agree who releases quarantined mail. Decide who on the support team reviews quarantine and how people ask for a message they were expecting, so nothing genuine is left waiting.
- Quarantine phishing in every policy. In the Defender portal open Email & collaboration → Policies & rules → Threat policies → Anti-spam, open each inbound policy, choose Actions and set Phishing and High confidence phishing to Quarantine message. Or run Get-HostedContentFilterPolicy | Set-HostedContentFilterPolicy -PhishSpamAction Quarantine -HighConfidencePhishAction Quarantine.
- Consider the preset policies. Turning on the Standard preset security policy for everyone applies Microsoft’s recommended actions, these included, and keeps them up to date as Microsoft changes them.
- Confirm the setting. Run the command from the first step again and check every policy shows Quarantine for both actions. The next assessment passes.
With PowerShell
Get-HostedContentFilterPolicy | Set-HostedContentFilterPolicy -PhishSpamAction Quarantine -HighConfidencePhishAction Quarantine
What users will notice
Phishing the filter catches no longer reaches Junk Email; people see it only if an administrator releases it from quarantine.
How to confirm it worked
Get-HostedContentFilterPolicy | Format-Table Name, PhishSpamAction, HighConfidencePhishAction shows Quarantine for every policy.
Frameworks and controls
This check maps to controls in 12 frameworks. Passing it is evidence that the setting is in place, not a certification against any of them.
| Framework | Control |
|---|---|
| NCSC CAF | B4.b Secure configuration |
| DSPT | Standard 9: IT protection |
| NIS2 | Art. 21(2)(e) Security in acquisition, development and maintenance, including vulnerability handling |
| Zero Trust | Applications |
| SOC 2 | CC6.8 Preventing or detecting unauthorised or malicious software |
| PCI DSS 4.0.1 | 5.4.1 Personnel are protected against phishing attacks |
| NIST SP 800-171 | 3.14.2 Provide protection from malicious code |
| CMMC Level 2 | SI.L2-3.14.2 Malicious Code Protection |
| ISO 27001:2022 | A.8.7 Protection against malware |
| CIS Controls v8.1 | 9.7 Deploy and maintain email server anti-malware protections (IG3) |
| NIST CSF 2.0 | DE.CM-09: Computing hardware and software, runtime environments, and their data are monitored to find potentially adverse events |
| NCSC 10 Steps | Architecture and configuration |
The framework mappings were last checked against the published standards in October 2026.
Microsoft’s documentation
- Configure anti-spam policies (Microsoft Learn)