SharePoint in File Explorer: Choose an OneDrive shortcut or sync
Add a shortcut to reach a SharePoint library through OneDrive on multiple devices, or sync it to a specific PC. This guide compares the two options, shows how to set up and verify either one, and explains how to disconnect it without deleting shared content.
To work with a SharePoint document library in File Explorer, choose Add shortcut to OneDrive or Sync. A shortcut is suited to finding the same content through OneDrive on multiple devices; Sync connects the library folder to a particular PC. Both use the OneDrive sync app and send changes between the online library and the computer, so do not set up both methods for the same library or folder.
This guide covers a work or school account, modern SharePoint, Windows File Explorer, and the OneDrive sync app. Menus and availability can vary with organization policy, account permissions, and app setup.
Which option fits?
| Need | Choose | Where it appears in File Explorer | Best fit |
|---|---|---|---|
| Find the same library or folder through OneDrive on multiple devices | Add shortcut to OneDrive | Under your organization’s OneDrive folder | You want shared content alongside your OneDrive files and available on other devices |
| Connect a library folder to one particular PC | Sync | Under a separate folder named for your organization | You want a device-specific library location |
| Open a library briefly to inspect or copy files | Prefer the SharePoint web interface; modern View in File Explorer is not recommended as a lasting connection | It may open a temporary Explorer folder | You do not need a persistent connection |
Microsoft recommends the shortcut as the more versatile choice when it is available. Both persistent options connect the library and the computer, and additions, edits, and deletions made in either place sync to the other. A shortcut is available through OneDrive on other devices; Sync is tied to the device where you set it up. If the shortcut option is missing or restricted, check with the site owner or IT admin before switching approaches. Microsoft: View SharePoint files in File Explorer · Microsoft: Sync SharePoint and Teams files with your computer
Before you start
Sign in to SharePoint with the correct work or school account. Set up the OneDrive app with that same organization account.
Confirm you can access the library. Adding a shortcut to a shared folder may require edit permission. A synced file marked read-only will not send your edits back to SharePoint.
Check whether the library or folder is already connected as a shortcut or through Sync. Connecting the same shared content both ways can cause a sync conflict.
If you need files offline, make sure their contents are stored on the device. Online-only files may not open without internet. See the [OneDrive Files On-Demand guide](https://knowledge.linkspot.net/en/articles/4528c236-a26f-4bef-af54-06d7e295179f) for the separate storage-state setting.
Option 1: Add a shortcut to OneDrive
In a browser, open the SharePoint site and the target document library. Open a folder if you need only that part of the library.
In the library or folder menu, choose **Add shortcut to OneDrive** or **Add shortcut to My files**. The wording and location can vary.
When the confirmation appears, open **My files** and check that the shortcut is listed.
In File Explorer, open your organization’s OneDrive folder and check that the same library or folder appears.
You can add a shortcut for a whole SharePoint or Teams library, or for a folder within it. The option may be unavailable for an individual file, a folder shared with an external user, or when organization settings restrict it. If the shortcut appears on the OneDrive website but not on your PC, check OneDrive Settings > Account > Choose folders. Microsoft: Add shortcuts to shared folders in OneDrive
Option 2: Sync a library to this PC
On the SharePoint site, open **Documents** or the document library you want.
Select **Sync** on the toolbar.
If your browser asks to open Microsoft OneDrive, allow it. Sign in to the sync app with the same work or school account and finish connecting.
In File Explorer’s navigation pane, open the folder named for your organization and check for the library.
Set up Sync separately on each PC. Confirm that OneDrive is running, the correct account is signed in, and the library has no sync error. To see connected sites, select the OneDrive cloud icon in the taskbar and go to Settings > Account. For a library, Choose folders can limit which folders sync; Stop sync disconnects that site. Existing file copies remain on the PC after you stop syncing. Microsoft: Sync SharePoint and Teams files with your computer
Verify changes and offline access
After connecting, check the file name and path in File Explorer and make sure the OneDrive status does not show a sync error. Avoid changing a live shared document just to test; other collaborators may see that change. Instead, check the latest modification and sync status in SharePoint on the web.
A connection does not mean every file’s contents are already stored locally. With Files On-Demand, an online-only file needs internet. To prepare for offline work, open the needed files in advance or select Always keep on this device, then confirm they are available before disconnecting from the network. This is separate from choosing a shortcut or Sync. See the OneDrive Files On-Demand guide.
Disconnect safely and handle conflicts
To remove a shortcut, select Remove shortcut in OneDrive’s My files, or right-click it in File Explorer and choose OneDrive > Remove shortcut. This removes the connection from your OneDrive; it does not remove the shared library. Do not use Delete to disconnect. Deleting a shared shortcut can affect its files, and deleting an expanded shortcut from the File Explorer navigation pane can remove content for everyone. Microsoft: Add shortcuts to shared folders in OneDrive
To stop a library Sync, use the OneDrive cloud icon’s Settings > Account and select Stop sync next to the site. Before deleting the local copies left on the PC, check SharePoint on the web for the latest files and upload status; there may be local changes that have not uploaded.
If OneDrive says the content is already syncing as a shortcut, first check how that library or folder is connected. Microsoft documents a conflict between a SharePoint library sync and a shortcut to content from that library. Do not delete files or shortcuts at random. Decide which connection you need, confirm the web copy and current sync state, and keep one path. Contact the site owner or IT admin if the message persists or the options differ. Microsoft: OneDrive sync app error—Unable to sync shortcut
Quick choice
**Shared library through OneDrive on multiple devices:** Add a shortcut.
**A separate library folder on one PC:** Sync.
**The same content is already connected another way:** Check the existing connection before changing it.
**Remove a shortcut from your list:** Choose Remove shortcut, not Delete.
**Stop a library Sync:** Use OneDrive Settings, then check the web copy and local files.
**Need offline access:** Check Files On-Demand separately from the connection method.