M365Con 2027 – free online conference · 11–22 Jan 2027 · 120 sessions m365con.net

Zero-hour auto purge (ZAP)

Concept

A Microsoft email protection capability that re-evaluates delivered messages and moves them to junk or quarantine when their verdict later changes to phishing or malware.

✦ CONCEPTZero-hour auto purge(ZAP)M365.FM
Title graphic: Zero-hour auto purge (ZAP) (Concept)

Often discussed together

Episodes about Zero-hour auto purge (ZAP) often also cover Exchange Online Protection (EOP), Microsoft Defender for Office 365 and Exchange Online.

Description

Zero-hour auto purge (ZAP) is a Microsoft email protection capability that detects and neutralizes phishing, spam or malware messages after they have already been delivered to cloud mailboxes. Rather than relying only on a verdict made at the moment a message arrives, ZAP re-evaluates delivered mail and takes action when the verdict later changes. Microsoft's documentation describes it as part of Microsoft Defender for Office 365, and the M365.FM episode on Exchange Online Protection also lists it as a feature of that service.

The reason ZAP exists is that protection signatures are updated continuously, yet harmful mail can still reach a mailbox. Typical cases are zero-day malware that is not yet known at delivery time, or content that only becomes malicious after the message has been delivered. ZAP keeps watching for signature updates and applies them to messages already sitting in mailboxes. According to the Microsoft Learn description, users are not notified when ZAP moves a message.

The action ZAP takes depends on the type of threat. Malware messages are moved to quarantine. High-confidence phishing messages always go to quarantine. Other phishing messages follow the action defined in the anti-spam policy. Spam is handled only if the message is still unread, and the action follows the verdict set in the policy. In this way the outcome is tied to the configured policy for the less severe categories, while the most serious categories are always isolated.

Several scope limits apply. ZAP covers cloud mailboxes only, not on-premises mailboxes. It examines only recently delivered messages, specifically those from the last 48 hours. Allow lists and transport rules can override ZAP actions, and some exceptions apply to advanced delivery policy entries, so administrators who maintain broad allow lists or mail flow rules should be aware that these can prevent ZAP from acting on a message. ZAP can also act on malicious Teams chat messages in addition to email.

Regarding licensing, the source notes state that no special license is needed for email ZAP, whereas ZAP for Teams requires Defender for Office 365 Plan 1 or Plan 2. For monitoring, ZAP activity appears in the mailflow status report and in Threat Explorer, which lets administrators see which delivered messages were acted on after the fact.

In the M365.FM episode "Exchange Online Protection (EOP) - Simply Explained", ZAP is introduced alongside EOP's anti-malware and anti-phishing protection. The episode describes ZAP as actively monitoring mailboxes to isolate and remove spam, phishing and malware emails that may have entered the inbox, and says this ensures that even after delivery, harmful emails can be removed. It positions ZAP as a post-delivery safety net that complements the filtering that blocks threats before they reach the inbox.

For administrators, the practical decisions around ZAP concern how anti-spam policy actions are set, how allow lists and transport rules are managed so they do not undermine post-delivery protection, and how the mailflow status report and Threat Explorer are used to review what was removed. Because ZAP works silently from the user's perspective, reviewing those reports is the main way to confirm that it is acting as intended.

Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.

TypeConcept

Key points about Zero-hour auto purge (ZAP)

Key points about Zero-hour auto purge (ZAP) from the episodes, each with its source episode:

Episodes about Zero-hour auto purge (ZAP)

Episodes in which Zero-hour auto purge (ZAP) is discussed:

Timeline of episodes about Zero-hour auto purge (ZAP)

Frequently asked questions

Questions marked with AI were written with AI from the facts on this page.

What does zero-hour auto purge (ZAP) do? (AI)

ZAP re-evaluates messages that were already delivered to cloud mailboxes and moves them to junk or quarantine if they later turn out to be phishing, spam or malware. Malware and high-confidence phishing go to quarantine, while other phishing and spam follow the anti-spam policy.

How far back does ZAP look at delivered messages? (AI)

According to Microsoft Learn, ZAP examines only recently delivered messages, meaning those from the last 48 hours. It applies to cloud mailboxes only, not on-premises ones.

Does ZAP require a special license? (AI)

No special license is needed for email ZAP. ZAP for Teams chat messages requires Defender for Office 365 Plan 1 or Plan 2.

How does zero-hour auto purge (ZAP) work in EOP?

ZAP retroactively removes dangerous messages after delivery. According to the episode it now also covers Teams chat messages and the deleted items folder, where a restored message could otherwise reappear. · From the episode: Exchange Online Protection (EOP) - Simply Explained

Glossary

Community wiki

Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.

Experts and companies for this topic

Nobody has listed this topic yet. Add it to your profile.

Sources

Maintained by Mirko Peters (Microsoft MVP) · Last updated: