Where Microsoft Teams Chat Files Are Stored and How to Delete Them
Question details
The user wants to locate files shared in Microsoft Teams chats and delete them after a set period to manage OneDrive storage.
- Product
- Microsoft Teams, OneDrive for Business, and SharePoint
- Device & OS
- not provided
- Scenario
- Files shared in private chats accumulate over time, and the user wants a way to remove older files automatically.
- Observed behavior
- Private chat uploads are typically stored in the sender's OneDrive Microsoft Teams Chat Files folder, while channel files are stored in SharePoint. A standard retention policy cannot target only that OneDrive folder.
Identify the account that uploaded the files and confirm that you have permission to delete them. Check your organization's retention requirements before removing shared content or setting up automatic cleanup.
Delete Teams chat files from OneDrive
Use this method to remove specific files shared in private chats when automatic deletion is not required.
Sign in to OneDrive for work or school with the account that uploaded the chat files.
Open My files, then select the Microsoft Teams Chat Files folder.
Select the files you no longer need and choose Delete. People who received links may no longer be able to access them.
Open Recycle bin in OneDrive to review deleted files. If your organization's policies permit it and you no longer need the files, select them and choose Delete to remove them permanently.

Schedule a folder-specific cleanup script
Use an administrator-managed script when files in the chat folder must be deleted automatically after a defined period.
Work with shared Office files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files into your workflow. It does not manage Teams storage or retention policies.

Frequently Asked Questions
Where can I find files uploaded to a private Teams chat?
They are typically in the uploader's OneDrive for work or school under My files > Microsoft Teams Chat Files. Files shared as links may remain in their original location.
Where are Teams channel files stored?
Channel files are stored in SharePoint. Open the channel's Files or Shared tab and select Open in SharePoint to manage them.
Can I set a retention policy for only the Teams chat files folder?
A standard Microsoft Purview retention policy cannot be scoped only to that OneDrive folder. An administrator can consider a folder-specific cleanup script, subject to organizational retention requirements.
Does deleting a Teams chat message delete its file?
Not necessarily. To remove an uploaded file, locate it in the uploader's OneDrive Microsoft Teams Chat Files folder and delete it there.
Why might deleting files not immediately reclaim storage?
Deleted files may remain in the OneDrive recycle bin, and retention policies or legal holds can preserve content. Check the recycle bin and ask your administrator about applicable policies.




