SharePoint library won’t sync: causes and fixes
Troubleshoot SharePoint libraries that will not sync with the OneDrive app: a missing Sync button, read-only libraries, credentials, conflicts and the naming and size rules.
The problem
SharePoint libraries sync to your PC through the OneDrive app, so they share OneDrive’s rules and add a few of their own. Library settings, permissions and required metadata can stop a library from syncing, or make it sync as read-only.
Symptoms
- The Sync button is missing from the library toolbar in the browser.
- A message says the administrator does not allow the library to be synced.
- The synced library opens as read-only, so changes cannot be saved back.
- Some files sync while others show errors or never appear.
- Copies of files appear with a computer name added to the file name.
Options set for this library by your administrator prohibit users from syncing it to a local computer. For more information, see your SharePoint administrator.
Causes
Offline availability is turned off
A site or library owner can prevent syncing. The Sync button then disappears or sync is refused.
Check-out or required columns
Libraries that require check-out, or have required columns or validation, sync as read-only.
Wrong or expired credentials
The OneDrive app must be signed in with the account that has access to the library, usually your Microsoft 365 account.
Conflicts
When local and server copies differ, Office files show a conflict to resolve. For other file types, OneDrive keeps both and adds your computer name to the local copy.
Names, paths and sizes
Unsupported characters, paths over 400 characters and files over 250 GB do not sync.
Unsupported sync locations
A network or mapped drive cannot be used as a OneDrive sync location.
How to fix it
-
Confirm you can open the library in a browser
Sign in to Microsoft 365 and open the library. If you cannot access it, ask the site owner for permission before troubleshooting sync.
-
Check whether the library allows syncing
Site owners: open Site settings, then Search and offline availability, and set Offline Client Availability to Yes. Library owners: open Library settings, then Advanced settings, and set Offline Client Availability to Yes.
-
Check for read-only conditions
In Library settings, review whether check-out is required and which columns are required. These settings keep the library read-only in File Explorer.
-
Sign in with the right account
Open OneDrive settings and confirm the work or school account matches the one you use for SharePoint.
-
Resolve conflicts
Open conflicting Office files to resolve them in the app. For other files, compare the two versions, keep the right one and delete or rename the other.
-
Fix names and long paths
Rename items with unsupported characters and shorten paths that exceed the limits. See the guides on invalid file names and path length.
-
Stop syncing and sync the library again
If many errors remain, stop syncing the library from OneDrive settings and sync it again for fresh data. Your files stay in both places when you stop syncing.
Before you change anything
- Do not rename the synced library folder on your PC after sync is set up. That breaks the sync relationship.
- When you sync a library again, rename the old local folder first, otherwise the new one is created with a number added to its name.
- Changing library settings affects everyone who uses the library. Agree changes with the site owner.
When OneDriveSyncFixer helps
Microsoft documentation
- Fix SharePoint Online sync problems (opens in a new tab)support.microsoft.com
- Resolve sync issues in OneDrive for work or school (opens in a new tab)learn.microsoft.com
- Restrictions and limitations in OneDrive and SharePoint (opens in a new tab)support.microsoft.com
This guide summarizes Microsoft’s published guidance in our own words. Microsoft documentation remains the authoritative source.
Related guides
Keep troubleshooting
-
SharePoint file path too long: limits, causes and fixes
SharePoint and OneDrive allow paths up to 400 characters, but Windows apps often stop at 260. See which limit applies, how to measure a path and how to shorten it.
-
How to fix invalid file names in OneDrive
OneDrive and SharePoint skip any file or folder whose name breaks their naming rules. Learn the rules, find the affected items and rename them without breaking links.
-
OneDrive not syncing on Windows: a step-by-step checklist
Work through the usual reasons OneDrive stops syncing, in order: sign-in, paused sync, storage, problem files, app version and finally a reset.