A Microsoft file hosting and synchronization service.
Hi Théo CHARPENTIER,
Welcome to the Q&A Community
I’m here to assist your problem.
Based on the description you have shared, i can answer for your question:
No, there is no built-in way to completely hide or prevent app-generated folders (such as "Microsoft Teams Chat Files" or similar temporary storage folders used by Teams and other Microsoft apps) from appearing in the OneDrive web interface, mobile apps, or desktop app views. These are system-created folders tied to app integrations, and Microsoft does not provide options to hide, rename, or relocate them in the cloud without potentially breaking functionality like file sharing in chats. Attempts to mark them as "hidden" (e.g., via file attributes in File Explorer) only affect local visibility temporarily and do not persist or apply to the OneDrive web/app interfaces, as OneDrive does not support a cloud-based "hidden" attribute for folders in the same way local file systems do.
That said, here are effective workarounds to reduce clutter and improve navigation, particularly if you're syncing OneDrive to your computer:
*If these folders are synced to your PC or Mac, you can exclude them from local sync while keeping them in the cloud. This hides them from your file explorer without deleting them:
- Right-click the OneDrive icon in your system tray (Windows) or menu bar (Mac).
- Select Settings (or Help & Settings > Settings).
- Go to the Account tab and click Choose folders.
- Uncheck the boxes next to the folders you want to exclude (e.g., "Microsoft Teams Chat Files" or "Apps").
- Click OK. The folders will be removed from your local device but remain accessible via the OneDrive website or apps.
This is the most common recommendation for managing clutter from app folders. Note that if you right-click a synced folder in File Explorer and select "Free up space" first, it marks the contents as online-only, making exclusion easier.
*If you're managing OneDrive via Group Policy (e.g., in a business environment), you can use policies to restrict sync behaviors, though none directly hide folders:
- Exclude specific kinds of files from being uploaded: Prevents certain file types from syncing, which could indirectly reduce clutter in temp folders.
- Block syncing OneDrive accounts for specific organizations: Limits app integrations that create folders.
- These are under Computer Configuration > Policies > Administrative Templates > OneDrive in Group Policy Editor. However, there's no policy to prevent apps like Teams from creating root-level folders.
Other tips for your situation:
- In the OneDrive web interface, use the search bar or sort/filter options (e.g., by name or date) to focus on your main folders and ignore the system ones.
- For photos or media clutter (if relevant), adjust camera upload settings in the OneDrive mobile app under Me > Settings > Camera upload to exclude specific sources.
- If the clutter is extreme, consider using a separate OneDrive account for personal files versus work/apps, though this requires manual management.
This limitation is a common user complaint, with no updates resolving it as of July 2025. If you'd like this feature added, submit feedback directly in the OneDrive app (under Settings > Help & feedback) or via Microsoft's Feedback Portal at Ideas · Community (select OneDrive or Teams). Upvoting existing ideas like "hide system folders in OneDrive" can help prioritize it.
Thank you for your patience and support.
As a forum moderator with a limited scope of knowledge, I hope you find my answer helpful. Please know that I've done my best to assist you.
Thank you for your kindness and understanding. If you need anything else, please feel free to contact me.
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.