Skip to main content

Make Users Request, Not Release, Quarantined Phishing Mail with Defender for Office 365 Quarantine Policies

Swap the full-access default for a request-release quarantine policy on phishing verdicts, then approve or deny user requests from the Quarantine page.

Wooden tiles spelling 'phishing' highlight cybersecurity themes.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

can hold suspected phishing mail in quarantine instead of delivering it. With the default quarantine policy, each recipient can release that message to their own inbox without an admin.

To change that, create a custom quarantine policy that gives recipients Request release instead of Release, with notifications on. Then assign it to the phishing verdict in each anti-spam policy that quarantines phishing. Users still see and preview their messages, but nothing reaches an inbox until an admin approves it on the Quarantine page. The new policy only applies to messages quarantined after you assign it. The steps follow Microsoft Learn as it stood on 24 November 2026.

#The problem with the default phishing quarantine policy

Anti-spam policies sort mail into verdicts: spam, high confidence spam, phishing, high confidence phishing and bulk. Each verdict has an action and, when that action is quarantine, a quarantine policy. The quarantine policy decides what the recipient may do with the held message, and whether they are told about it.

Microsoft’s recommended settings list DefaultFullAccessPolicy as the default quarantine policy for the phishing verdict. The Standard and Strict preset security policies use DefaultFullAccessWithNotificationPolicy. Both carry Full access permissions, which include Release. So a user who sees a convincing fake invoice in quarantine can put it in their inbox with one click.

High confidence phishing is treated differently. Its default policy is AdminOnlyAccessPolicy, and Microsoft states that users can’t release their own high confidence phishing messages, however the quarantine policy is set. The same rule covers malware from anti-malware policies and malware or phishing caught by Safe Attachments. The gap is the ordinary phishing verdict, where detection is less certain and the user keeps full control.

Whether phishing is quarantined at all depends on the policy. The phishing action defaults to Move message to Junk Email folder in the default anti-spam policy and in policies created in PowerShell. Policies created in the Defender portal default to Quarantine message, as do the Standard and Strict presets. A quarantine policy only matters once the action is quarantine.

#The moving parts between a phishing verdict and the user’s inbox

Three objects decide the outcome. The anti-spam policy holds the verdict actions and the quarantine policy name for each verdict, in properties such as PhishSpamAction and PhishQuarantineTag. The quarantine policy holds the recipient permissions and the notification switch. The global quarantine settings hold how often notifications go out and who they come from.

Recipient permissions are stored as one number, EndUserQuarantinePermissionsValue. Each permission is one bit, from PermissionToViewHeader (128) down to PermissionToDelete (1). PermissionToRequestRelease is 8 and PermissionToRelease is 4. Microsoft says never to set both of those to 1.

Spoof, user impersonation, domain impersonation and mailbox intelligence detections come from anti-phishing policies, not anti-spam policies. They also show on the Quarantine page with the reason Phishing. Each has its own quarantine policy setting, such as SpoofQuarantineTag, so check those too if you want one rule for every phishing-type message.

Rendering diagram...

A change of quarantine policy is not retroactive. Microsoft’s documentation says a new assignment affects messages quarantined after the change, not those already held. Messages already in quarantine keep the permissions they arrived with.

Abstract representation of phishing with the text on a textured dark surface.
Photo by Ann Hannes on Pexels

#Setting up the request-release policy

You need the Quarantine Administrator, Security Administrator or Organization Management role group in the Defender portal, or the equivalent unified RBAC permission. Connect to PowerShell for the command steps. Test against a pilot anti-spam policy that covers a few volunteers, here named Pilot users, before touching the policy that covers everyone. Creating one takes the portal wizard, or New-HostedContentFilterPolicy with its own New-HostedContentFilterRule in PowerShell.

  1. Record the current state. Save the output with your change record, because it is your rollback reference.
    1Get-HostedContentFilterPolicy | Format-List Name,PhishSpamAction,PhishQuarantineTag,HighConfidencePhishAction,HighConfidencePhishQuarantineTag
  2. List the quarantine policies that already exist, so the new name doesn’t clash.
    1Get-QuarantinePolicy | Format-Table Name
  3. Create the policy. In the portal, go to Email & collaboration then Policies & rules then Threat policies then Quarantine policy and select Add custom policy. On Recipient message access, choose Set specific access (Advanced). Set the release preference to Allow recipients to request a message to be released from quarantine. Then tick Preview, Delete and Block sender. On Quarantine notification, select Enable. In PowerShell, the same policy is:
    1New-QuarantinePolicy -Name "PhishRequestRelease" -EndUserQuarantinePermissionsValue 27 -EsnEnabled $true
  4. Assign it to the phishing verdict. In Threat policies then Anti-spam, open the inbound policy and select Edit actions. Set Phishing to Quarantine message and pick the new policy in Select quarantine policy. In PowerShell:
    1Set-HostedContentFilterPolicy -Identity "Pilot users" -PhishSpamAction Quarantine -PhishQuarantineTag PhishRequestRelease
  5. Repeat step 4 for each custom anti-spam policy and the default policy once the pilot has run for a week without surprises.

Following along? Tap a step’s number to tick it off.

The value 27 is 16 for block sender, 8 for request release, 2 for preview and 1 for delete. Microsoft’s pages disagree on the number for the Limited access preset. The cmdlet reference gives 27, while the quarantine policies article gives 43, which swaps block sender for allow sender. The article also says PermissionToAllowSender isn’t used in PowerShell. Build the number from the bit table rather than copying either preset value.

Leaving allow sender out is a deliberate choice for phishing. That permission adds the sender to the user’s Safe Senders list, which is the wrong reflex for a message that looked like phishing.

#Check it worked with a test release request

First, confirm the policy and the assignment are what you intended.

1Get-QuarantinePolicy -Identity "PhishRequestRelease" | Format-List
2Get-HostedContentFilterPolicy -Identity "Pilot users" | Format-List Name,PhishSpamAction,PhishQuarantineTag

The first should show a permissions value of 27 and quarantine notifications enabled. The second should show Quarantine and PhishRequestRelease.

Then wait for a real phishing detection for a pilot user, or ask one to check their next quarantine notification. In the user’s view of quarantine, Request release should be available and Release should not. After they request it, the message’s Release status changes to Release requested. You can list pending requests from PowerShell:

1Get-QuarantineMessage -QuarantineTypes Phish -ReleaseStatus Requested

Don’t read the PermissionTo* values in that output as the user’s rights. Microsoft notes they reflect the permissions of whoever runs the cmdlet, so an admin sees True for release. Use Get-QuarantinePolicy to see what recipients can do. For a portal view, go to Email & collaboration then Review then Quarantine and filter on Release status.

#What goes wrong after the change

  • Users can still release old messages. They were quarantined before the assignment and keep the old policy. They age out with the retention period.
  • Some users see no change at all. Recipients included in the Standard or Strict preset security policies ignore settings in the default and custom anti-spam policies. Check which policy applies to them before assuming the change failed.
  • Phishing still lands in Junk Email. The policy’s phishing action is still Move message to Junk Email folder, so no quarantine policy is involved.
  • Requests expire unanswered. Messages are deleted when they pass the date in the Expires column. Anti-spam quarantine keeps messages for 15 days in the default policy and 30 days in custom policies, adjustable from 1 to 30 days.
  • Nobody hears about requests. The default alert policy User requested to release a quarantined message raises an informational alert and notifies Organization Management. It depends on audit , which is on by default.
  • Block sender doesn’t work from the notification. Microsoft says users need remote PowerShell enabled for that action to work in quarantine notifications.

Expect more requests in the first weeks. Messages that users used to release themselves now need a decision, so set an owner for the queue before the change, not after.

Phishing headline with cut-out letters on an orange striped background illustrating cybersecurity threats.
Photo by Ann Hannes on Pexels

#Least privilege for the people who approve releases

Approving a release is a security decision, so give it to the smallest group that can make it. Of the three role groups Microsoft lists for acting on all users’ quarantined messages, Quarantine Administrator is the one named for that job alone. Global Reader, Security Reader and Security Operator give read-only access and preview, which suits people who triage but should not release.

Microsoft notes that roles assigned through Azure Privileged Identity Management aren’t currently supported in quarantine. If your organisation grants admin roles only through PIM, test that your approvers can act before go-live. Guest admins from another organisation can’t manage quarantined messages either.

Every admin and user action on quarantined messages is audited. That gives you a record of who requested, approved or denied each release. When a released message turns out to be malicious, treat it like any other endpoint alert. Our notes on fixing Defender for Endpoint devices that stop reporting help confirm that the affected laptop is still sending data. Attack surface reduction rules in block mode limit what a malicious attachment can launch.

#Recovering if the change causes trouble

The change is two settings on one object, so the rollback is short. Use the values you recorded before the change.

  1. Put the recorded quarantine policy back on the phishing verdict, for example: Set-HostedContentFilterPolicy -Identity "Pilot users" -PhishQuarantineTag DefaultFullAccessPolicy.
  2. If you changed the action, set -PhishSpamAction back to its recorded value as well.
  3. Re-run the Get-HostedContentFilterPolicy command from the first step and compare it with your saved output.
  4. Approve or deny any requests still showing Release requested. The rollback doesn’t change messages already quarantined under the new policy.

Leave the custom quarantine policy in place after a rollback. It does nothing while unassigned. If you later want it gone, Microsoft’s guidance is to confirm no anti-spam, anti-phishing, anti-malware or Safe Attachments policy still names it first. You can’t remove the three default policies.

#Keeping the release queue moving

Once the policy is live everywhere, a few habits keep it working:

  • Check Release requested at least daily, sooner if notifications go out every four hours.
  • Review denials once a month for senders that keep getting caught. Repeated false positives belong in a report to Microsoft, not in a broader allow.
  • Set the global quarantine notification frequency to match how fast you can answer: Within 4 hours, Daily or Weekly.
  • Re-run the policy inventory after anyone creates a new anti-spam policy. A new policy made in PowerShell starts with the phishing action set to Junk Email.

The next decision is whether the same request-only model fits spoof and impersonation detections in your anti-phishing policies. It is the same quarantine policy, assigned in a different place, and worth the same pilot. For other places where a convenience setting widens what gets through, the guide to auditing Defender Antivirus exclusions follows a similar record, change and verify pattern.

About this page

Credited to

Dates

Published

Sources

This page lists no external sources.

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Reader Interaction

Comments

Add a thoughtful note on Make Users Request, Not Release, Quarantined Phishing Mail with Defender for Office 365 Quarantine Policies. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this article.

Discover more

Lexicon Definitions

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Engineering insights, direct to you.

Receive the latest Systems Engineering tutorials, production guides, Engineering Labs and operational best practices.