Forum Discussion
galeithe
Oct 01, 2025Copper Contributor
Hide spesific folder from OneDrive synk all users
We have a cloud application that uses the user's OneDrive while they are working with documents. These files are stored in a specific folder and are removed when the user checks in the files through ...
NikolinoDE
Oct 04, 2025Gold Contributor
OneDrive does not have a native “exclude subfolder from sync” policy. The sync client only supports:
- Excluding certain file types/extensions (Block syncing of specific file types via Group Policy/Intune).
- Preventing specific folders/libraries from being synced at all (like excluding a whole document library in SharePoint/Teams).
- Controlling known folder move (Desktop, Documents, Pictures).
But not: “exclude this one subfolder inside OneDrive for all users.” That’s why you only find manual guidance (right-click → “Choose folders to sync” in OneDrive client).
if I may recommend…
if your app must write to OneDrive, use the file type block policy to prevent those temp/working files from syncing. If you control the app, better to move its working directory outside of OneDrive altogether.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and like it!
This will help all forum participants.