Sync in SharePoint and OneDrive
When users install the OneDrive sync app for Windows or Mac, and sync the files on a team site, they can work with the files in File Explorer or Finder. They can also easily save files to the team site from the programs they use.
If the user adds, changes, or deletes files and folders on the site, the changes also apply to the files and folders of the user's computer and vice versa.
To upload files to the team site, users can copy or move them to the site in File Explorer or Finder. They can also use File Explorer or Finder to easily organize the document library by creating new folders, and moving and renaming files and folders. All these changes sync automatically.
Windows 10 devices come with the OneDrive sync app installed. Office 2016 and later installations also have the sync app installed.
Users have two options when syncing files in SharePoint libraries and Teams. They can
- Add shortcuts to libraries and folders to their OneDrive.
- Use the Sync button in the document library.
Both OneDrive shortcuts and OneDrive Sync options allow essentially the same thing—users can access files on their local computer in Explorer or Finder.
However, adding OneDrive shortcuts allows content to be accessed on all devices, whereas sync is related to a specific device. Additionally, OneDrive shortcuts offer improved performance versus using the sync button.
We recommend using OneDrive shortcuts as the more versatile option.
You can turn off OneDrive sync from all the SharePoint libraries in your organization with SharePoint Online Management Shell.
To turn off OneDrive sync from all the SharePoint libraries in your organization:
Download the latest SharePoint Online Management Shell.
Note
If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall "SharePoint Online Management Shell."
Connect to SharePoint as a SharePoint Administrator or above in Microsoft 365. To learn how, see Getting started with SharePoint Online Management Shell. by using this Set-SPOTenant PowerShell cmdlet to remove the OneDrive sync button:
Run the following cmdlets:
Set-SPOTenant -HideSyncButtonOnTeamSite $true
Removing the sync button blocks new syncs from being started but doesn't affect existing syncs.
Read the release notes and install the latest fully released versions.
Read about Invalid file names and file types in OneDrive and SharePoint.