Microsoft 365 – Microsoft Teams Data Retention Policy Setup
This guide explains how to configure Microsoft Teams chat data retention policies using the Microsoft Purview compliance portal.
Suitable for IT administrators, compliance, and audit support.
When to Use This Guide
Use this guide when:
You need to control how long Microsoft Teams chat messages are retained
You want to delete chat history after a defined period
Prerequisites
Before starting, ensure:
You have Microsoft 365 Global Admin or Compliance Admin permissions
Microsoft Teams is enabled for your tenant
You understand the required retention period (legal, audit, or operational)
Portal Access
Microsoft Purview portal:
https://purview.microsoft.com/datalifecyclemanagement/retention
Step-by-Step: Create a Teams Retention Policy
Step 1: Log in to Microsoft 365 Admin
Log in to Microsoft 365 Admin Center
Open Microsoft Purview
Step 2: Navigate to Retention Policies
In Microsoft Purview, click Solutions
Select Retention
Click Retention policies
Step 3: Create a New Retention Policy
Click New retention policy
Provide a policy name and optional description
Example: Teams Chat – 2 Year Retention
Step 4: Choose Locations
Select Microsoft Teams chats
Choose whether the policy applies to:
The entire organization, or
Specific users, groups, or teams
Step 5: Configure Retention Settings
Set the policy to Delete items after a specific period
Define the retention duration (days, months, or years)
Important:
The retention period starts when the message is created.
Step 6: Review and Create
Review the policy configuration
Click Create to publish the retention policy
The policy may take time to propagate across the tenant.
Key Notes
Retention policies apply going forward and may take up to several hours to fully enforce
Deletion is automatic once the retention period expires
Policies can be updated or removed if requirements change
Best Practices
Document the business reason for each retention policy
Avoid overlapping policies unless intentionally designed
Coordinate changes with Legal, Compliance, and IT stakeholders
Summary
Access Microsoft Purview via Microsoft 365 Admin
Navigate to Solutions → Retention → Retention policies
Create a new policy for Microsoft Teams chats
Set retention duration and scope
Retention begins at message creation time
This process ensures Microsoft Teams chat data is retained and deleted in accordance with organizational policy.