Hi @Eldhose Raju,
Thank you for posting your question in the Microsoft Q&A forum. Yes, you can automatically delete Teams channel messages using Microsoft Purview’s Data Lifecycle Management (DLM) retention policies. This is the recommended approach for organization-wide message deletion, as it runs continuously and does not require manual intervention.
How it works: You can create a retention policy that targets Teams channel messages, and configure it to automatically delete messages after a specified retention period. Messages will be eligible for deletion based on their creation date or last modified date, depending on your policy settings.
To use retention policies in Microsoft Purview, each user whose content is subject to the policy must have one of the following licenses:
Additionally, you’ll need appropriate permissions such as:
- Global Administrator
- Compliance Administrator
You can find more details here: Microsoft 365 guidance for security & compliance - Service Descriptions | Microsoft Learn
To create retention policies that automatically delete Teams channel messages, you can refer to the following documentation. These guides walk you through the steps to set up and manage retention policies using Microsoft Purview:
- Automatically retain or delete content by using retention policies | Microsoft Learn
- How to Configure Retention Policies in Microsoft 365
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link
If you have any updates or further questions, feel free to leave a comment under this post. I’ll be happy to assist you further.
Thank you for your time and engagement!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.