Retention Tags and Retention Policies
Retention Tags and Retention Policies are super important in managing how long emails and other mailbox items are kept or deleted in Microsoft Exchange (on-prem or Microsoft 365).
🗂️ What is a Retention Tag?
A Retention Tag is a rule that defines how long an email (or folder) is kept and what action to take after that time.
🔧 Each Retention Tag includes:
Retention period: e.g., 30 days, 1 year, 5 years, etc.
Action: What to do after that period:
❌ Delete it permanently
🗑 Move it to Deleted Items
📁 Archive it
Scope: Where the tag applies:
Entire mailbox
Default folders (Inbox, Sent, etc.)
Specific folders
Individual items (emails)
📌 Example:
"Delete items in Deleted Items folder after 30 days"
"Archive Inbox items older than 2 years"
"Keep important emails forever"
📋 What is a Retention Policy?
A Retention Policy is a collection of Retention Tags bundled together and applied to a user's mailbox.
✅ It defines the full lifecycle of mailbox items by applying:
One Default Policy Tag (DPT) for items without a tag
Optional Retention Policy Tags (RPTs) for default folders (like Inbox, Deleted Items)
Optional Personal Tags the user can apply manually
🔁 How It Works (Simplified Flow):
Admin creates Retention Tags (e.g., "Delete after 5 years", "Archive after 2 years").
Tags are combined into a Retention Policy.
The policy is assigned to a mailbox.
The Managed Folder Assistant (background service) processes items and applies the rules.
Emails are deleted, moved to archive, or left untouched based on the tags.
🧠 Why Use Retention Tags & Policies?
🛡️ Compliance: Retain business emails for legal or regulatory reasons
🔒 Data security: Automatically delete old emails to reduce risk
🧹 Mailbox management: Keep mailboxes clean and within size limits
📦 Auto-archiving: Move older emails to archive mailboxes to save space
🔎 Types of Retention Tags:
Tag Type | Applies To | Purpose |
---|---|---|
Default Policy Tag (DPT) | All untagged items | Set a default retention rule |
Retention Policy Tag (RPT) | Default folders (Inbox, Deleted Items, etc.) | Set folder-specific rules |
Personal Tag | Manually applied by users | Let users choose how to retain/delete certain items |
✏️ Example Retention Policy (Typical):
Tag Name | Folder | Action | Period |
---|---|---|---|
Inbox Cleanup | Inbox | Move to Archive | 2 years |
Delete Old Junk | Junk Email | Delete permanently | 30 days |
Auto Delete DeletedItems | Deleted Items | Delete permanently | 30 days |
Default Retention | All other items | Move to Archive | 5 years |
📌 Key Notes:
Users can override policies (if allowed) with Personal Tags.
Admins manage everything via Microsoft 365 Compliance Center or Exchange Admin Center.
Only one retention policy can be applied to a mailbox at a time.
🛠️ Where to Configure:
Microsoft 365 / Exchange Online:
Use Microsoft Purview Compliance Portal (https://compliance.microsoft.com)Exchange on-prem:
Use Exchange Admin Center or PowerShell