In this guide
Appearance
Appearance
By Scot, 10+ years in IT support and helpdesk ·How these guides are checked
Open the library in your browser and click Add shortcut to My files on the command bar. The library appears inside your OneDrive folder in File Explorer, and it follows you to every computer you sign in to.
A SharePoint document library can appear in File Explorer alongside your own files, so you open team documents without a browser. There are two buttons that do this and they produce very different results. This article explains both, shows you which to use, covers Teams channel files, and shows how to remove a library again without deleting a thing from SharePoint.
In this guide
Both buttons sit on the command bar across the top of a SharePoint library. Clicking the wrong one is the single biggest cause of duplicated, confusing file trees, so spend thirty seconds here first.
| Add shortcut to My files | Sync | |
|---|---|---|
| Where it lands in File Explorer | Inside OneDrive - Contoso, as a folder with a small link badge — at the root, or inside a Shortcuts folder if you send it there | A separate top-level entry named Contoso, below your OneDrive |
| Set-up needed on your other computers | None — it appears on its own | You repeat it on every machine |
| Visible in OneDrive on the web and mobile | Yes, under My files | No |
| What it downloads up front | Nothing — files arrive as online-only placeholders | Nothing, with Files On-Demand on, but the folder structure is rebuilt locally |
| Counts against your OneDrive quota | No | No |
| Removing it | Right-click the folder and select Remove shortcut | Stop sync in OneDrive settings |
Use Add shortcut to My files. It is the option Microsoft now recommends, and the reasons are practical rather than cosmetic:
Stay with Sync in three specific cases: an application needs the library at a fixed local path it can handle, your organisation has turned shortcuts off, or you have hit the cap on how many shortcuts one account can hold.
Note: On older tenants the button reads Add shortcut to OneDrive rather than Add shortcut to My files. It is the same feature and behaves identically — Microsoft renamed the label when OneDrive on the web moved to a My files heading.
Note: As of July 2026 you can send a shortcut to a dedicated Shortcuts folder rather than to your OneDrive root. OneDrive creates that folder the first time you use it and gives it a distinct colour and a building icon, and from then on it behaves like any other folder — move it, rename it, share it, or remove it whenever you like. It sits inside your OneDrive, so do not confuse it with the top-level organisation entry that Sync creates in Step 3, which also carries a building icon.
Verification: Double-click the new folder in File Explorer. The team's files are listed with blue cloud badges. Double-click one and it downloads and opens, and the badge turns into a green check.
Selecting a single subfolder in step 2 is worth knowing about. A department library with 90,000 files across 40 folders is far easier to work with when you shortcut only the two folders your project uses.
Use this when Step 1 pointed you here.
C:\Users\yourname\Contoso\Site name - Library name.Note: Sync is a per-computer setting. On your second PC the library is absent until you repeat these steps there. This is the difference people notice weeks later, and it is why Step 1 recommends the shortcut instead.
If the sync opens under the wrong account, or you have both a personal and a work account signed in, see How to Use Personal and Work OneDrive on the Same Computer.
Every Teams channel stores its files in a folder inside the team's SharePoint library, so the same two buttons apply.
Two details that catch people out:
Removing the entry disconnects this computer from the library. It deletes nothing from SharePoint, and no colleague sees any change.
To remove a shortcut added in Step 2:
To remove a library synced in Step 3:
Verification: Open the library in your browser. Every file is still listed, with its version history and permissions intact. That is what Stop sync and Remove shortcut leave behind — nothing changes in the cloud.
Stop sync sometimes leaves an empty or partly filled folder at C:\Users\yourname\Contoso\.... Those are the local copies of files you had already downloaded. Confirm the library is intact in the browser, then delete that leftover folder like any other local folder — the deletion stays on your PC and does not reach SharePoint.
The sync client keeps a local record of every item it tracks, and that record is what slows a computer down. Microsoft's supported ceiling is 300,000 items across everything you sync, and File Explorer starts feeling sluggish well below that.
Check the size before you commit:
What to do instead of syncing a huge library:
WARNING
Syncing a library with tens of thousands of files slows the whole computer, not only OneDrive. Symptoms are a File Explorer that takes seconds to open a folder, constant disk activity, and a sync status stuck on Processing changes. Shortcut a single subfolder instead, as described in Step 6.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| The same library appears twice in File Explorer | It was both synced and shortcutted | Keep one. Use Stop sync on the organisation entry (Step 5) and keep the shortcut inside your OneDrive. |
| Add shortcut to My files is missing from the command bar | Older label, hidden overflow, or disabled by policy | Look for Add shortcut to OneDrive and check the three-dot menu (...). If neither appears, tell IT: "Please enable the Add shortcut to OneDrive option for our tenant." |
| "Adding this shortcut failed" or the button does nothing | Shortcut limit reached on the account | Remove shortcuts you no longer use with Remove shortcut (Step 5), then add the new one. |
| Sync sits on "Processing changes" for hours | Library too large, or a file is stuck | Check the item count (Step 6). If the library is small, work through How to Fix OneDrive Sync Problems — Pending, Stuck, or Files Not Uploading. |
| "The file name would be too long for the destination folder" | Combined path over the length limit | Shorten the folder names inside the library, or shortcut a subfolder so the local path starts deeper in the tree. |
| Files vanished from File Explorer after Stop sync | The entry was removed, as designed | Open the library in your browser — everything is there. Add it back with Add shortcut to My files (Step 2). |
| The library synced under the wrong account | Two accounts signed in to the client | Stop sync, confirm which account the browser session is using, then sync again — see How to Use Personal and Work OneDrive on the Same Computer. |
IT Tip Tuesday
Get a short, actionable IT tip in your inbox every week.
Nothing loads from beehiiv until you click. Once it does, the form sets beehiiv's own cookies and loads beehiiv's own analytics.