Exchange Online Protection tuning is a balance between detection, delivery and recovery. Blocking more messages is not automatically better protection, and reducing quarantine volume is not proof that a configuration is working. The objective is to apply appropriate controls, preserve the signals Microsoft uses to evaluate messages and give administrators a reliable way to resolve mistakes.

In Part 10 of Microsoft 365 Architecture & Exchange Enterprise Deep Dive, we examine anti-spam, anti-phishing and quarantine as one operational system. For hybrid organisations, this also means checking the route into Exchange Online: a well-designed filtering policy cannot compensate for incorrectly trusted connectors or authentication signals obscured by an upstream service.

By Muhammad Ahsan, Solution Savy.

1. Establish the protection baseline and effective policy

Exchange Online Protection provides anti-spam, anti-malware and spoofing protection for cloud mailboxes. Microsoft Defender for Office 365 adds capabilities beyond that baseline, including impersonation protection within anti-phishing policies, Safe Links and Safe Attachments. Do not assume that every control shown in a deployment guide is available with your licences.

Start by identifying the policy that actually applies to each recipient. For the protection features included in preset security policies, Strict takes precedence over Standard, followed by applicable custom policies and then the default policy. Within custom policies of the same type, a lower priority number means higher precedence. Settings from multiple policies of the same type are not merged into a stronger composite policy.

This distinction matters during troubleshooting. Editing a custom anti-spam policy will not change filtering for a recipient whose applicable protection comes from a higher-precedence preset policy. Equally, a default policy is a fallback, not evidence that every mailbox receives those settings.

Use Standard and Strict preset security policies as Microsoft-defined starting points, choosing recipient scopes according to business risk and operational requirements.

Document preset assignments, custom policy priorities, recipient conditions and exclusions before changing actions.

Use custom policies for requirements that genuinely differ from the presets, rather than recreating a baseline without a clear reason.

Connect using the Exchange Online PowerShell module and an appropriately authorised account. The following read-only checks expose custom rule ordering and selected inbound anti-spam settings. They are an inventory, not a complete calculation of effective protection: verify preset assignments separately in the Microsoft Defender portal.

Connect-ExchangeOnline

Get-HostedContentFilterRule |
    Sort-Object Priority |
    Format-Table Name, State, Priority, HostedContentFilterPolicy -AutoSize

Get-HostedContentFilterPolicy |
    Format-List Name, SpamAction, HighConfidenceSpamAction,
        PhishSpamAction, HighConfidencePhishAction,
        BulkSpamAction, BulkThreshold, QuarantineRetentionPeriod

Get-AntiPhishPolicy |
    Format-List Name, EnableSpoofIntelligence

Get-QuarantinePolicy | Format-List

2. Tune spam and bulk mail as separate problems

Inbound anti-spam policies distinguish spam, high confidence spam, phishing, high confidence phishing and bulk email. These categories can have different actions and quarantine policy assignments. Treating them as a single unwanted-mail category usually produces poor decisions: a newsletter complaint and a credential-harvesting message should not follow the same exception process.

Bulk filtering uses the bulk complaint level, or BCL. Messages at or above the configured threshold are treated as bulk when bulk marking is enabled. Lowering the threshold makes filtering more sensitive to bulk mail. Microsoft’s Standard and Strict presets use thresholds of 6 and 5 respectively; these are useful reference points, not a reason to change every custom policy immediately.

Before adjusting a threshold, examine representative messages. Confirm the filtering verdict, message headers, affected recipient and policy action. A legitimate subscription classified as bulk is a different tuning problem from a transactional message classified as phishing. Changing bulk sensitivity will not reliably address an authentication or spoofing issue.

Separate user reports into unwanted subscriptions, legitimate business messages, obvious spam and suspected phishing.

Review the current action for each verdict rather than focusing only on the bulk threshold.

Pilot a change with an explicitly scoped recipient group, ensuring that higher-precedence presets do not override the test policy.

Measure legitimate-message disruption alongside unwanted messages reaching inboxes. Keep the observation period consistent when comparing results.

Avoid broad sender or domain allow lists as a routine remedy. Microsoft warns that these entries can bypass important filtering checks. Prefer administrator submissions for incorrectly blocked messages and investigate the underlying cause before adding an exception. A business-critical sender still needs authentication and a trustworthy delivery path.

3. Separate spoofing protection from impersonation protection

Spoofing and impersonation are related but different. Spoofing concerns a sender presenting an identity that the message is not authorised to use. Impersonation can involve a different address or lookalike domain designed to resemble a trusted person or organisation. A message can authenticate successfully for an attacker-controlled domain and still impersonate a supplier.

The anti-phishing capabilities available with Exchange Online Protection include spoof intelligence. Microsoft Defender for Office 365 extends anti-phishing policies with user and domain impersonation protection, mailbox intelligence-based impersonation protection and advanced phishing thresholds. Check the tenant’s entitlement before designing an operating procedure around those additional controls.

Keep spoof intelligence enabled unless a documented, tested requirement justifies a different configuration. When a legitimate system is identified as spoofing, investigate its sending arrangement rather than immediately approving the displayed sender. Common investigation targets include third-party applications sending as your domain and messages forwarded through another service.

Check SPF, DKIM and DMARC results together with Microsoft’s composite authentication result. Do not interpret one header value in isolation.

For legitimate spoofing scenarios, review the sending infrastructure as well as the spoofed identity before creating an allowance.

Where licensed, explicitly configure the users and domains that require impersonation protection. Policy assignment alone does not define the full protected identity list.

Treat impersonation exceptions as security decisions with an owner, a business reason and a review date.

Distinguish an anti-phishing policy’s spoofing action from an anti-spam policy’s phishing verdict action. Both are relevant to the overall experience, but changing one does not automatically change the other. Record which protection produced the detection before selecting the setting to adjust.

4. Preserve filtering signals across hybrid and gateway routes

In hybrid environments, establish how each message reaches Exchange Online. Direct internet delivery, delivery through an on-premises Exchange organisation and delivery through a third-party gateway can expose different source information to filtering. Investigate representative headers and connector configuration before concluding that a detection threshold is wrong.

When a third-party service or on-premises system sits in front of Microsoft 365, Enhanced Filtering for Connectors can help Microsoft identify the original internet source rather than evaluating only the last intermediate hop. Configure it for the documented topology and the appropriate inbound connector; do not assume every relay address should simply be excluded from evaluation.

Microsoft specifically directs administrators to disable transport rules that set the spam confidence level to -1 for messages covered by Enhanced Filtering for Connectors. Leaving a blanket spam bypass in place undermines the intended filtering design. Review these rules as part of the implementation, with testing and a rollback plan.

Inventory inbound connectors and mail flow rules that bypass spam filtering.

Identify every legitimate route, including application relays, gateway failover and hybrid delivery.

Test both legitimate and suspicious-looking messages through each route before removing an existing exception.

Routing remediation and policy tuning should be tracked as separate changes. Otherwise, an apparent improvement may conceal an unresolved trust problem or make it difficult to identify which change caused a delivery regression.

5. Design quarantine as an access and recovery control

A quarantine policy determines what users can do with quarantined messages and whether they receive quarantine notifications. It does not decide whether a message is quarantined in the first place. That decision comes from the relevant protection policy and its configured action.

Map each quarantine-producing verdict to an intentional user experience. For lower-risk categories, an organisation might allow users to review and release messages. For phishing-related detections, an administrator-led process can provide additional scrutiny. Match permissions to the detection category rather than giving every quarantined message the same recovery path.

There are service-enforced limits. Users cannot directly release messages quarantined as malware or high confidence phishing, regardless of a quarantine policy that would otherwise permit self-release. Do not promise universal self-service recovery. Verify the available review and release-request experience for the relevant detection and assigned policy.

Notification behaviour also requires deliberate configuration. A message appearing in quarantine does not mean its recipient has received a notification. Where notifications are enabled, test the resulting experience with an ordinary user account, including access to the portal and the actions actually available.

For every quarantine action, record the assigned quarantine policy, user permissions, notification behaviour and administrator escalation route.

Set and document retention. For messages quarantined by anti-spam policies, the configurable retention period is 1–30 days; do not assume that this setting controls every quarantine category.

Establish a review service level that leaves enough time to investigate before messages expire and are deleted.

Explain that quarantine is temporary security holding, not an archive or a substitute for retention and eDiscovery controls.

Treat release, submission and allowance as separate decisions. Releasing a legitimate message addresses that delivery incident; it does not establish that future messages from the same apparent sender should be trusted. Where the detection was incorrect, submit the message to Microsoft and assess any proposed exception independently.

6. Validate changes and use a short operational checklist

Use an evidence-led change cycle: capture the existing configuration, identify the effective policy, change one control, validate representative messages and review the outcome. Record the message identifier, sender, recipient, timestamp, verdict and relevant policy with each investigation. This makes repeated incidents comparable and reduces reliance on screenshots without context.

Test policy scope as carefully as detection. Include recipients assigned to Standard, Strict and custom policies, along with shared mailboxes where relevant. Check notifications and release permissions separately from delivery outcomes. A message can be correctly quarantined while the recovery process remains unusable.

Keep false-positive review disciplined. Validate the sender and business purpose, inspect links or attachments through approved security workflows, and check authentication and routing evidence before release. A familiar display name or a request marked urgent is not sufficient justification for an exception.

Checklist — Licensing: confirm which controls are Exchange Online Protection capabilities and which require Microsoft Defender for Office 365.

Checklist — Precedence: verify the effective preset or custom policy for each pilot recipient.

Checklist — Filtering: review spam, bulk and phishing actions separately, with representative message evidence.

Checklist — Routing: check connectors, Enhanced Filtering applicability and spam-bypass rules.

Checklist — Quarantine: validate permissions, notifications, retention and the administrator review process.

Checklist — Exceptions: assign an owner, justification and review date to every allowance.

Checklist — Change control: retain the previous configuration and define a rollback trigger before expanding the pilot.

7. Conclusion: tune the decision path, not just the threshold

Effective Exchange Online Protection tuning starts with the message route and effective policy, then follows the detection through to quarantine and recovery. Use Microsoft’s presets as the baseline, preserve authentication and source signals, and make narrowly scoped changes supported by message evidence. The result should be a defensible operating model: appropriate filtering, controlled exceptions and a recovery process that users and administrators can understand.

Microsoft Learn: Preset security policies in EOP and Microsoft Defender for Office 365

Microsoft Learn: Configure anti-spam policies

Microsoft Learn: Anti-phishing protection

Microsoft Learn: Enhanced Filtering for Connectors

Microsoft Learn: Quarantine policies

Microsoft Learn: Quarantined email messages


Originally published on Solution Savy. Need help with this? Book a consultation.