|

How To Sync A SharePoint Library To File Explorer (2027)

Quick answer

  • In your browser, open the SharePoint or Teams site, select Documents (or the subfolder you want), then select Sync once; the files appear in File Explorer under a folder named after your organization.
  • To stop syncing, select the blue OneDrive cloud icon > Help and Settings gear > Settings > Account, then select Stop sync for that library; the local copies stay on your computer.
  • If there is no Sync button, or you see “Which library do you want to sync?”, the site is not set up for the new sync app and the site owner or IT admin has to fix it.

Applies to: SharePoint and Teams files with a Microsoft 365 work or school account, on Windows with the new OneDrive sync app

Syncing a SharePoint document library puts the team’s files in File Explorer, so you can open them like any other folder on your PC.

Microsoft says you only need to do it once per computer, and that the Sync button is the same for SharePoint sites and for the files tab in Teams.

This guide covers the steps, where the files go, how to stop syncing and what to check when the Sync button does not work.

Table of Contents

Quick answer: sync and stop syncing

GoalWhereWhat to select
Sync a library or folderSharePoint or Teams in a browserDocuments (or a subfolder), then Sync
Find the filesFile Explorer left paneFolder named after your organization
Choose which folders syncOneDrive Settings > AccountChoose folders
Stop syncing a siteOneDrive Settings > AccountStop sync
No Sync buttonLibrary in SharePointAsk the site owner to check Offline Client Availability

What you need first

Microsoft says you need a Microsoft 365 work or school subscription, or SharePoint Server 2019 with Teams.

Microsoft’s page refers to the new OneDrive sync app and says support for the old OneDrive for Business sync app has ended.

These steps do not apply to a personal OneDrive account, which has its own guides.

Sync a SharePoint library or Teams files

  1. In your browser, select the Microsoft 365 app launcher, the nine-dot icon near the upper left corner.
  2. Select SharePoint or Teams, then select the site that has the files you want.
  3. Select Documents, or open the subfolder you want to sync.
  4. Select Sync.
  5. If your browser asks for permission to use Microsoft OneDrive, confirm.

To sync the same files on another computer, repeat these steps there.

To sync one folder only, open that subfolder in step 3 before you select Sync.

Where the synced files appear

Files sync to a folder named after your organization, such as %userprofile%\Contoso in Microsoft’s example, and it is added to the left pane of File Explorer.

Microsoft says you cannot choose a different location for it.

If you used the previous sync app, you may also see an old SharePoint or Teams folder under Favorites, which you can remove by right-clicking it and selecting Remove.

Sync or add a shortcut to OneDrive

Microsoft recommends adding a shortcut to a library or folder in OneDrive where that option is available.

Sync buttonShortcut in OneDrive
Works onOne device at a timeAll your devices
PerformanceSlower than a shortcutBetter than the Sync button

Microsoft’s sync page links to a separate guide for adding shortcuts, so use that if you want the files on every device.

Change which folders sync

  1. Select the blue OneDrive cloud icon in the taskbar notification area, using the Show hidden icons arrow if you do not see it.
  2. If it is still missing, open OneDrive from the Start menu search.
  3. Select the Help and Settings gear icon, then Settings.
  4. Open the Account tab, which lists every site you sync.
  5. Select Choose folders for the library you want to change.

Stop syncing a library

Use the same Account tab and select Stop sync beside the site you no longer want on this computer.

Microsoft says the local copies remain on your computer after you stop.

Microsoft’s page for the previous sync app adds that files you delete online are deleted locally at the next sync, and that syncing the library again creates a new folder with a number added if the name is taken.

If you only want a break, Microsoft says pausing keeps the connection; right-click the OneDrive icon and select Resume syncing to restart.

No Sync button, or “Which library do you want to sync?”

Microsoft says this means the site is not set up for the new sync app.

  1. Sign in to Microsoft 365 with your work or school account.
  2. Open the SharePoint document library.
  3. If there is no Sync button, contact the site owner.

Site owners can enable it under Library settings > More library settings > Advanced settings > Offline Client Availability.

Limits that stop files syncing

LimitWhat Microsoft saysFix
File size250 GB per file maximumZip the file or reduce picture size
Path lengthFull path plus filename under 400 charactersShorten names, or sync a folder nearer the top
CharactersNo < > : ” | ? * / \ in namesRename the item
Library sizeMore than 100,000 files can take a long timeChoose which folders to sync

To count files, right-click the OneDrive folder in File Explorer, choose Properties and read the Contains value.

Sites with a colon in the name cannot be synced, because Windows does not allow that character in folder names.

A lock icon on a file

A lock icon on a synced file means it is read-only, and changes to it will not sync.

Microsoft says you may lack edit permission, or the library may require checkout or metadata.

For a file that shows as locked in Word, see our guide to fixing a Word document locked for editing.

Moving files between synced sites

Microsoft says you cannot move OneNote notebooks between sites on your computer.

Moving other Office files between sites loses version history, so use Move to or Copy to on the site instead.

If a sync icon stays stuck, our guide to OneDrive stuck on processing changes covers the pause and resume trick.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *