How to find quarantine policy details in Microsoft 365?
A quarantine policy in Microsoft 365 outlines how quarantined messages are managed, detailing the permissions for both end users and admins. Regularly reviewing these policies and their details ensures that only authorized users can release, download, or remove quarantined messages, maintaining strong email security and compliance.
Steps to find quarantine policy details in the Microsoft 365 Defender portal
- Login to the Microsoft 365 Defender portal.
- Navigate to .
- Under the category, select .
- Here, you can view all the quarantine policies in your organization.
- Upon selecting a quarantine policy, you can find details like the policy name, user message access permissions (like releasing, deleting, and previewing messages), whether quarantine notifications are enabled or disabled, etc.
Note that there are some default policies, namely:
- AdminOnlyAccessPolicy
- DefaultFullAccessPolicy
- DefaultFullAccessWithNotificationPolicy
These policies cannot be edited. You can review these default policies to see if the standard settings are in place. However, to adjust settings like quarantine duration or notification options, you must create or configure custom quarantine policies.
Although the native method lists all quarantine policies, retrieving them can be time-consuming and tedious. PowerShell offers a more efficient solution for finding quarantine policy details, providing faster execution and greater customization.
View Quarantine Policies Using PowerShell
- Run the following cmdlet in Exchange Online PowerShell to view quarantine policies using PowerShell.
Connect-ExchangeOnline
Get-QuarantinePolicy | Select Name,QuarantinePolicyType,ESNEnabled,QuarantineRetentionDays,OrganizationID | Format-Table
- The above cmdlet retrieves all the quarantine policies and their details in your Microsoft 365 environment.
- To view details of a specific quarantine policy, use the following cmdlet and replace <PolicyName> with the name of the policy you want to examine.
Get-QuarantinePolicy -Identity "<PolicyName>"