Attachment Issues

Why Exchange Online Blocks DOCX and XLSX Attachments

Maira MehtabMaira Mehtab Nov 20, 2026 868 views

Question details

Determine why Exchange Online Protection quarantines Word and Excel attachments and how to correct the responsible settings.

Why Exchange Online Blocks DOCX and XLSX Attachments
Product
Exchange Online Protection
Device & OS
not provided
Scenario
DOCX and XLSX files are sent as email attachments through Exchange Online.
Observed behavior
Some Word and Excel attachments are quarantined as malware, potentially because of an unexpected filter setting or a higher-priority policy.
Before you start

Sign in with an account that can review Exchange message traces and Microsoft Defender quarantine and policy settings. Gather the sender, recipient, approximate delivery time, and subject of an affected message.

Solution 1Recommended

Trace the Message and Review Malware Policy Priority

Use message and quarantine details to identify the cause, then check which anti-malware policy applies to the recipient.

1
Find the affected message

In the Exchange admin center, open Mail flow > Message trace. Search using the sender, recipient, and approximate time, then open the affected message's details.

2
Inspect quarantine details

In the Microsoft Defender portal, open Email & collaboration > Review > Quarantine. Find the message and inspect its quarantine reason and available detection details.

3
Review anti-malware policies

In Microsoft Defender, open Email & collaboration > Policies & rules > Threat policies > Anti-malware. Compare policy priorities, recipient conditions, exclusions, and common attachment filter settings to identify the policy that applies.

4
Correct and retest

Edit the relevant policy if its scope, priority, or blocked file types are incorrect. Send a known-safe DOCX or XLSX test attachment to the affected recipient and check the new message trace and quarantine results.

Trace the Message and Review Malware Policy Priority
Verify before releasing: A DOCX or XLSX file can contain malicious content. Investigate the detection and verify the sender and attachment before releasing a quarantined message.
Free Microsoft Office alternative

Open Word and Excel Attachments with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for working with Word and Excel files. It supports common Microsoft Office formats for an easy transition, but it does not change Exchange Online quarantine or filtering settings.

Open and edit DOCX documents and XLSX spreadsheets after they are safely delivered.Compatible with common Microsoft Word and Excel file formats.Familiar editing interface makes switching from Microsoft Office easier.Free and lightweight for everyday document and spreadsheet work.
microsoft office alternative - wps office

Frequently Asked Questions

How do I find out why an attachment was quarantined?

Search for the message in Exchange admin center > Mail flow > Message trace, then check its entry under Microsoft Defender > Email & collaboration > Review > Quarantine for the quarantine reason and detection details.

Can a higher-priority malware policy affect my attachments?

Yes. If multiple anti-malware policies apply, priority affects which policy is used. Check their order and recipient conditions under Microsoft Defender > Email & collaboration > Policies & rules > Threat policies > Anti-malware.

Should I release a quarantined DOCX or XLSX file immediately?

No. Review the quarantine reason and verify the sender and attachment first. Word and Excel files can contain malicious content even when their extensions appear familiar.

Can a mail flow rule fix an attachment filter issue?

A scoped rule may help manage attachment handling when a transport rule is the cause, but it should not be used to bypass malware detection. Review rules under Exchange admin center > Mail flow > Rules and test any changes.

Will opening the file in WPS Office prevent Exchange from quarantining it?

No. Exchange Online Protection filters messages before the recipient opens their attachments. Review the message trace, quarantine details, and relevant policies to address the delivery issue.