Fixity Labs

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.

Updated
Reading time
3 min
Applies to
SharePoint in Microsoft 365, OneDrive for work or school

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.
Message you may see

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

  1. 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.

  2. 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.

  3. 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.

  4. Sign in with the right account

    Open OneDrive settings and confirm the work or school account matches the one you use for SharePoint.

  5. 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.

  6. 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.

  7. 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

This guide summarizes Microsoft’s published guidance in our own words. Microsoft documentation remains the authoritative source.

Related guides