Sync SharePoint to OneDrive: Step‑by‑Step Guide
In this article
Yes—you can sync a SharePoint document library to the OneDrive sync client, giving you offline access and automatic two‑way updates between the cloud and your PC.
What You’ll Need
- A Microsoft 365 (formerly Office 365) account that has access to the SharePoint site you want to sync.
- The OneDrive sync client installed on Windows 10/11, macOS, iOS, or Android. The client is included with Microsoft 365 subscriptions and updates automatically.
- Internet connectivity for the initial sync and for any subsequent changes.
- Enough local disk space to hold the files you plan to sync.
Step‑by‑Step
- Open a web browser and navigate to the SharePoint site that contains the document library you want to sync.
- Locate the library in the site navigation or on the home page. Click the library name to open it.
- In the library toolbar, click the Sync button. If you do not see the button, click the … (ellipsis) menu and choose Sync from the dropdown.
- If prompted, allow the browser to open the OneDrive app. This is a standard security prompt; click Open or Allow.
- The OneDrive client will display a dialog asking which folders you want to sync. By default, the entire library is selected. Adjust the selection if you only need part of the library, then click Start sync.
- OneDrive will now create a local folder on your computer. The default location is
C:\Users\[YourUser]\OneDrive – [Organization]on Windows or/Users/[YourUser]/OneDrive – [Organization]on macOS. You can change this location in OneDrive settings before starting the sync, but it is easier to accept the default for most users. - Watch the OneDrive icon in the taskbar (Windows) or menu bar (macOS). A spinning arrow indicates that files are being downloaded. When the icon shows a green checkmark, the sync is complete.
- From now on, any file you add, edit, or delete in the local folder will automatically sync to SharePoint, and changes made in SharePoint via the web will appear in your local folder.
- On Windows, you can also right‑click the OneDrive icon and select View sync problems if you suspect an issue.
- On macOS, click the OneDrive icon, then choose Preferences > Account to see the sync status.
- If you need to stop syncing a library, return to the OneDrive client, click Help & Settings > Settings, go to the Account tab, and click Stop sync next to the relevant library. Confirm the prompt; the local copy will remain on your device unless you choose to delete it.
Common Mistakes
- Using the wrong OneDrive account. Many organizations have both personal and work accounts. Ensure the OneDrive client you are using is signed in with the same work or school account that has SharePoint access.
- Insufficient disk space. The client will start syncing but stop when the drive runs out of space, leaving an incomplete library.
- Changing the library’s permissions after sync. If a user’s permission is reduced, the local files remain but become read‑only, and new files may fail to upload.
- Disabling the OneDrive sync client. Some corporate policies disable background sync. Verify that the client is allowed to run at startup.
- Syncing a library with more than 300,000 items. The client has a known limit; large libraries should be accessed via the web or mapped as a network drive instead.
Tips
- Use selective sync to keep only the folders you need on your device. This saves space and speeds up the initial download.
- Enable the Files On‑Demand feature (Windows) or Optimize Mac Storage (macOS) to see all files in Explorer/Finder without storing them locally until you open them.
- Rename the local folder only through the OneDrive settings; renaming it directly in Explorer can break the sync link.
- Keep the OneDrive client up to date. Automatic updates are enabled by default, but you can manually check for updates via Help & Settings > Settings > About.
- Leverage version history in SharePoint. Even if a file is overwritten locally, previous versions remain in the cloud and can be restored.
Troubleshooting
If the sync does not start or stops unexpectedly, follow these steps in order:
- Restart the OneDrive client. Right‑click the OneDrive icon and choose Close OneDrive, then launch it again from the Start menu (Windows) or Applications folder (macOS).
- Check service health. Visit the Microsoft 365 Service health dashboard to ensure there are no ongoing outages affecting SharePoint or OneDrive.
- Sign out and back in. In the OneDrive settings, go to the Account tab, click Sign out, then sign in again with the correct work account.
- Verify the library URL. Open the library in a browser and copy the URL. In OneDrive, select Add a place > SharePoint and paste the URL to re‑establish the link.
- Clear the sync cache. On Windows, navigate to
%localappdata%\Microsoft\OneDrive\settings\Business1and delete theSyncEnginefolder. On macOS, delete~/Library/Application Support/OneDrive/Business1. Then restart OneDrive and re‑sync. - Check file path length. OneDrive supports paths up to 400 characters. Files deeper than this limit will fail to sync; shorten folder names or move files higher in the hierarchy.
- Review blocked file types. Certain extensions (e.g., .exe, .dll) are blocked by default. Rename or move these files to a non‑sync folder.
- Re‑install the client. As a last resort, uninstall OneDrive from Settings > Apps (Windows) or drag the app to Trash (macOS), then download the latest installer from the official Microsoft site and reinstall.
After each step, monitor the OneDrive icon for a green checkmark. If the problem persists, contact your IT administrator with the error details displayed in the OneDrive “View sync problems” window.
Frequently Asked Questions
Can I sync multiple SharePoint libraries at once?
Yes. Each library appears as a separate folder under the OneDrive – [Organization] root. You can start sync for as many libraries as you need, limited only by local storage.
What happens to files if I delete the local copy?
Deleting a file from the local OneDrive folder moves it to the SharePoint Recycle Bin, just as if you deleted it from the web UI. The file can be restored within 93 days.
Is the sync bidirectional?
Absolutely. Changes made locally are uploaded to SharePoint, and edits made in the browser are downloaded to your device automatically.
Do I need a separate OneDrive account for each SharePoint site?
No. A single OneDrive for Business client can sync libraries from any SharePoint site that your account has permission to access.
Can I sync a library that contains more than 5 TB of data?
The OneDrive client has a practical limit of about 300 GB of data per library on most devices. For very large libraries, use the web interface or map the library as a network drive.
Why does OneDrive show “You’re offline” but the files still open?
OneDrive caches recent files locally, allowing you to open them while offline. Any changes you make will sync once the connection is restored.