Apply a retention policy to mailboxes in Exchange Online
Article
Note
To proactively retain or delete mailbox content for data lifecycle management in Microsoft 365, we recommend that you use retention policies and retention labels from the Microsoft Purview portal, instead of messaging records management that's described on this page. However, you should continue using messaging records management to move messages to archive mailboxes.
If you currently use messaging records management, this older feature will continue to work side-by-side with retention policies and retention labels. However, we recommend that going forward, you use retention policies and retention labels instead. They provide you with a single mechanism to centrally manage both retention and deletion of content across Microsoft 365.
You can use retention policies to group one or more retention tags and apply them to mailboxes to enforce message retention settings. A mailbox can't have more than one retention policy.
Caution
Messages are expired based on settings defined in the retention tags linked to the policy. These settings include actions such moving messages to the archive or permanently deleting them. Before applying a retention policy to one or more mailboxes, we recommended that you test the policy and inspect each retention tag associated with it.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Retention policies" entry in the Feature permissions in Exchange Online topic.
In the list view, select the mailbox to which you want to apply the retention policy.
In the details panes for that mailbox, select Mailbox, and then for the Retention policy section, select Manage mailbox policies.
In the Mailbox policies pane, use the dropdown list box for Retention policy to select the policy you want to apply to the mailbox, and then select Save.
Use the new EAC to apply a retention policy to multiple mailboxes
In the list view, select the multiple mailboxes to apply the same retention policy.
Above the list view, select ... for more options, and select Mailbox policies.
In the Mailbox policies pane, use the dropdown list box for Retention policy to select the policy you want to apply to the multiple mailboxes, and then select Save.
Use Exchange Online PowerShell to apply a retention policy to a single mailbox
The following example applies the retention policy RP-Finance to Morris's mailbox:
PowerShell
Set-Mailbox"Morris" -RetentionPolicy"RP-Finance"
For detailed syntax and parameter information, see Set-Mailbox.
Use Exchange Online PowerShell to apply a retention policy to multiple mailboxes
The following example applies the new retention policy New-Retention-Policy to all mailboxes that have the old policy Old-Retention-Policy:
Exchange creates the retention policy Default MRM Policy in your Exchange Online and on-premises Exchange organization. The policy is automatically applied to new users in Exchange Online. In on-premises organizations, the policy is applied when you create an archive for the mailbox. You can change the retention policy applied to a user at any time.
In Exchange Online, you can use retention policies to manage email lifecycle. Retention policies are applied by creating retention tags, adding them to a retention policy, and applying the policy to mailbox users.
In Microsoft Exchange Server and Exchange Online, Messaging records management (MRM) helps organizations to manage email lifecycle and reduce legal risks associated with e-mail and other communications. MRM makes it easier to keep messages needed to comply with company policy, government regulations, or legal needs, and to remove content that has no legal or business value.
You can add retention tags to a retention policy when the policy is created or any time thereafter. For details about how to create a retention policy, including how to simultaneously add retention tags, see Create a Retention Policy.
You can use Retention tags and retention policies to manage email lifecycle. Retention Policies contain Retention Tags, which are settings you can use to specify when a message should be automatically moved to the archive or when it should be deleted.
Users send and receive email every day. If left unmanaged, the volume of email generated and received each day can inundate users, impact user productivity, and expose your organization to risks. As a result, email lifecycle management is a critical component for most organizations.