Microsoft Defender for Office 365
Email and collaboration

Quarantine About

In brief

The page now documents that messages quarantined by Safe Attachments policies with unscannable encrypted attachments are retained for 30 days. Admins can release them without a password, while users can provide the password to rescan their own messages.

What Defender admins need to know

Admins can use these details when managing quarantined messages and advising users about password-protected attachments.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

  • tier1 ms.custom:
  • seo-marvel-apr2020
  • msecd-doc-authoring-10121015 description: Learn about email quarantine in Microsoft 365, including which detections quarantine messages, how retention works, and how admins and users manage quarantined items. ms.service: defender-office-365 ms.date: 02/02/07/17/2026 ai-usage: ai-assisted appliesto:
  • Built-in security features for all cloud mailboxes
  • Microsoft Defender for Office 365 Plan 1 and Plan 2 |Messages quarantined by anti-malware policies (malware messages).|30 days|No|If you turn on the common attachments filter in anti-malware policies (in the default policy or in custom policies), file attachments in email messages to the affected recipients are treated as malware based solely on the file extension using true type matching. A predefined list of mostly executable file types is used by default, but you can customize the list. For more information, see Common attachments filter in anti-malware policies.| |Messages quarantined by mail flow rules where the action is Deliver the message to the hosted quarantine (Quarantine).|30 days|No|| |Messages quarantined by Safe Attachments policies in Defender for Office 365 (malware or phishing messages).|30 days|No|| |Messages quarantined by Safe Attachments policies in Defender for Office 365 that contain encrypted (password-protected) attachments that can't be scanned.|30 days|No|Admins can release these messages without a password. Users can supply the attachment password to have their own messages rescanned and possibly released, if the quarantine policy allows it. For more information, see Encrypted (password-protected) attachments in Safe Attachments policies.| |Files quarantined by Safe Attachments for SharePoint, OneDrive, and Microsoft Teams (malware files).|30 days|No|Files quarantined in SharePoint or OneDrive are removed from quarantine after 30 days, but the blocked files remain in SharePoint or OneDrive in the blocked state.| |Messages in chats and channels quarantined by zero-hour auto protection (ZAP) for Microsoft Teams in Defender for Office 365|30 days|No||