OneDrive
Sync
Sync SharePoint and Teams files with your computer
OneDrive for Business SharePoint Server Subscription Edition SharePoint Server 2019 SharePoint in Microsoft 365 Microsoft 365 admin Office 365 operated by 21Vianet Office 365 operated by 21Vianet - Admin OneDrive (work or school) OneDrive (work or school) operated by 21Vianet OneDrive for Windows SharePoint admin center SharePoint operated by 21Vianet More...Less
Important:
Support for the old OneDrive for Businesssync appwith SharePoint Online has ended. If you see this
If your organization has aMicrosoft 365 work or school subscription or uses SharePoint Server 2019 and Teams, you can sync your Microsoft SharePoint and Teams files to a folder on your computer. This lets you work directly in File Explorer and access files even when you're offline. And when you go back online, any changes made to those files will sync automatically.
Note:For infoabout syncing files on macOS, see Sync files with OneDrive on Mac OS X.
You have two options when syncing files in SharePoint libraries and Teams. You can either add shortcuts to libraries and folders to their OneDrive oruse the Sync button in the document library.
Both 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 when available.
-
Set up syncing
-
Change sync settings
Set up syncing
-
Near the upper left corner of the browser page, select the Microsoft 365 app launcher:
-
From the menu that opens, select SharePointor Teams, and then select the site with the files you want to sync.
-
SelectDocuments or navigate to the subfolder you want to sync.
-
SelectSync. (You only need to do this once on a computer to set up syncing on that computer. After you set up syncing, the files sync automatically.)
-
If your browser requests permission to use "Microsoft OneDrive," confirm that this is okay.
Important:If a screen appears stating"Which library do you want to sync?", your site hasn't been set up to sync with the OneDrive sync app. If you're the IT admin for your organization, see Let users sync SharePoint files with the new OneDrive sync app. If you're not the IT admin, and your screens don't look like the ones in this article, see Sync SharePoint files with the OneDrive sync app (Groove.exe), or contact your IT department.
The files thensync to a folder on your PC that has the name of your organization (for example, %userprofile%\Contoso). This folder is automatically added to the left pane in File Explorer. You can’t select to sync to a different location.
5. To sync the files on another computer, go to that computer, and follow these steps again.
Notes:
-
You can now sync IRM-protected SharePoint, Teams, and OneDrive files in your work or school account. If you’re currently syncing an IRM-protected location using the Transition from the previous OneDrive sync app, stop syncing it with that sync app first. Then, install the Rights Management Service (RMS) client. When that finishes, open the SharePointor Teamslocation or OneDrive in your browser, and to begin syncing it with the sync app, selectSync.
-
If you see a lock icon on synced files in File Explorer, it means the files are synced read-only. You might not have permission to edit the files, or the library might require checkout or have required columns or metadata. If you change the files on your computer, the changes won’t sync. For permissions, contact your admin.
-
You can't move OneNote notebooks from one site to another on your computer, and if you move other Office files between sites, version history will be lost. To move Office files, go to the site, and use the Move to or Copy to command.
-
If a site name includes a character such as “:” that isn’t supported in folder names in Windows, files on the site can’t be synced.
-
If you used the previous OneDrive for work or school sync appthe folder structure for your synced folders might change when you begin syncing with the sync app. On computers with older versions of Windows where you used the previous OneDrive sync app, you may see an old "SharePoint" or "Teams" folder under Favorites in File Explorer. Toremove the extra "SharePoint" or "Teams" folder, right-click and selectRemove.
Change sync settings
To change the folders that sync for a site, or to stop syncing all files on a site, follow these steps:
-
Select the blue OneDrive cloud icon in the Windows taskbar notification area.
(You mayneed to selectthe Show hidden icons arrow
next to the notification area for the OneDrive icon to appear. If the icon doesn't appear in the notification area, OneDrive might not be running. SelectStart, enterOneDrive in the search box, and then selectOneDrive in the search results.) -
Select
> Settings. -
To see a list of all your syncing sites, selectthe Account tab.
-
To change the folders that you're syncing, selectChoose folders for that library, and then selectthe folders that you want to sync. To stop syncing a site, selectStop sync next to the site. (Copies of the files remain on your computer. You can delete them if you want.)
Learn More
-
Fix OneDrive sync problems
Need more help?
| Contact Support For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, selectContact Supportto be routed to the best support option. | |
| Admins |
Need more help?
Want more options?
Discover Community
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Microsoft 365 subscription benefits
Microsoft 365 training
Microsoft security
Accessibility center
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.