Remove SharePoint shortcut from OneDrive in 3 ways. Use OneDrive on the web, File Explorer or Pause sync. Web removal suits most people and shows Remove in plain words. File Explorer suits a synced PC and uses Delete. Pause sync fixes a folder that will not go away. Removing the link never deletes the files. Cancel any prompt that lists files and use the web instead.
Users send me this message more than any other. "I added a SharePoint folder to my OneDrive by mistake. How do I get rid of it without deleting the files?" That fear is fair. Shortcuts look like real folders, they sit next to personal files and the Delete key is right there.
Good news first. SharePoint shortcuts are only links. This guide shows how to remove a SharePoint shortcut on the web and on your PC, why a shortcut sometimes will not go away and how admins can stop users adding more.
What Happens to Files After SharePoint Shortcut Removal?
You remove the link and nothing else. A shortcut is an entry in My files that points to a folder in a SharePoint library. It has a small link icon so you can tell it apart from a normal folder. The real files remain in SharePoint and everyone else retains access.
Microsoft's own answer describes it as removing a hyperlink. The shortcut also takes up no space in your OneDrive, because the files count against the SharePoint site.
Before you press Delete on a shortcut, read the prompt. If it lists files, stop and use the web method instead. A link should never ask to delete thousands of files.
Jamie Kaler Marketing Head and Content Strategist, RecoveryTools
How can You Remove SharePoint Shortcut in OneDrive Step by Step?
Who it suits. Non technical user, any OneDrive user Extra application. None, because a browser is enough
Use this order to remove the link in OneDrive. It starts with a check so you never touch real files by mistake.
- Find the shortcut. Look for a folder with a small link icon in My files. A normal folder has no icon.
- Check it is a shortcut. Hover over it or open Details. If the folder holds your own files and has no link icon, it is not a shortcut. Do not remove it.
- Open OneDrive on the web. Sign in to your Microsoft 365 account, open OneDrive and select My files.
- Select the shortcut. Right click the folder or select the three dots next to it.
- Choose Remove. Choose Remove, not Delete so the action names the link and not the files.
- Check your PC. If you sync OneDrive, the folder should leave File Explorer within a few minutes. If it stays, use the File Explorer method below.
- Check the SharePoint library. Open the site and confirm the folder and files are still there.
- Add it again if you update your plan. Open the library in SharePoint and select Add shortcut to My files.
Step 7 takes ten seconds and ends the worry. The files were never in your OneDrive so they cannot leave with the link.
How do You Remove SharePoint Shortcuts in a Browser?
Who it suits. Non technical user, any OneDrive user Extra application. None, because a browser is enough
The web is the safest place to remove the shortcut, because the menu says Remove in plain words. Open OneDrive in a browser, select My files, find the folder with the link icon and use the three dots menu. Select Remove.
Microsoft lists this as a supported way to remove a SharePoint shortcut. If you cannot find the Remove option, check that you still have access to the library. A shortcut to a site you lost access to can behave oddly until you or an admin fix the access.
Can You Delete a SharePoint Shortcut in File Explorer?
Who it suits. Non technical user with OneDrive sync on a PC Extra application. None, because File Explorer is enough
Open your OneDrive folder on the PC and find the folder with the small link icon. Right click it and choose Delete. Some versions show Remove shortcut instead. Microsoft's troubleshooting steps use Delete for a shortcut folder and the files remain in SharePoint.
Take one precaution. If a prompt asks you to confirm deleting a long list of files, cancel it. One user reported that prompt on a stuck shortcut and clicking Yes could remove shared content. Use the web method or pause sync first.
Why will the SharePoint Shortcut Not Go Away?
Who it suits. Technical user or site member who can pause sync Extra application. The OneDrive app that is already on your PC
Three causes explain most cases. Every one has a different fix.
First comes a sync mismatch. You removed the shortcut on the web but File Explorer still shows the old folder. Pause syncing in the OneDrive app, delete the local folder and resume. Microsoft gives this same tip: if you cannot remove the shortcut either way, pause sync and try again.
Second comes lost access. If someone removed you from the site, the shortcut can fail to open and to remove. Use the web method or ask the site owner to restore your access first.
Third comes a design limit. Microsoft says you cannot sync a document library that is already a shortcut in OneDrive and you cannot add a shortcut to a library you already sync. The error reads, "You're already syncing a shortcut to a folder from this shared library." Remove the shortcut or stop the sync.
Should You Use a Shortcut or Sync a SharePoint Library?
Before you add the next one, decide what you need. They do different jobs.
| Option | What it does | Good for | The catch |
|---|---|---|---|
| Add shortcut to My files | Shows the folder in OneDrive with a link icon | Quick access from the web and mobile app | Needs access to stay. It can fill a PC if you also sync it |
| Sync | Copies the library to your PC and keeps it updated | Working offline | Uses disk space and cannot be combined with a shortcut |
| Open in the browser | No link, no copy | Files you rarely touch | You need to find the site every time |
How can an Admin Stop Users Adding Shortcuts?
Who it suits. Technical user, SharePoint admin Extra application. The management shell for SharePoint Online
An admin can switch off the Add shortcut to OneDrive command for the entire tenant. Connect to the SharePoint Online Management Shell and set one parameter.
Connect-SPOService -Url https://contoso-admin.sharepoint.com
Set-SPOTenant -DisableAddShortCutsToOneDrive $True
This applies to every site, because there is no per site switch. It also does not remove shortcuts that users already added. They remain in My files until every user removes them. Check the parameter in the current SharePoint Online Management Shell documentation before you use it in production and tell users what is new.
What Happens to Shortcuts After a Site Rename or a Migration?
They break. A shortcut stores the address of the folder it points to. If the site is renamed, moved or migrated to another tenant, the link can point at nothing. I cover the rename case in how to change a SharePoint site name safely.
For a tenant move, plan to remove old shortcuts and add them again once the new site is live. Sync trouble after a move is common and my guide on OneDrive not syncing after migration shows how to fix it.
Which Mistakes Cost Files With a SharePoint Shortcut?
Four mistakes show up again and again when people remove a SharePoint shortcut.
First, deleting files inside the shortcut and not the shortcut itself. Second, confirming a prompt that lists files. Third, removing a shortcut on the web and forgetting the old folder on the PC. Fourth, syncing a library and adding it as a shortcut at the same time, which causes the sync error and a lot of confusion.
If files did go missing, they are not in your local recycle bin. Restore them from the site recycle bin in SharePoint, which keeps versions safe.
My Verdict on Removing a SharePoint Shortcut
Use the web to remove the SharePoint shortcut, then check the library. That is the full task.
File Explorer fits only when the web method leaves a stuck folder so pause sync first. For a team, switch off the shortcut command or train people to use Remove and not Delete. A little care here saves a support ticket.
Frequently Asked Questions
Is a SharePoint Shortcut Only a Link in OneDrive?
Yes. Microsoft describes removing it as removing a hyperlink. The real files remain in SharePoint and everyone else keeps access.
Do SharePoint Shortcuts Use My OneDrive Storage?
No. Microsoft says shared folders added to your OneDrive as shortcuts do not use your OneDrive space. They count against the folder owner's storage.
Can I Sync a Library and Add a Shortcut to It Too?
No. Microsoft says you cannot use both Sync and Add shortcut to My files on the same document library. Choose one and remove the other.
Can Admins Stop Users Adding SharePoint Shortcuts to OneDrive?
Yes. An admin can set DisableAddShortCutsToOneDrive to true in the SharePoint Online Management Shell. It applies to the entire tenant and does not remove shortcuts already added.
Does Removing a SharePoint Shortcut Delete the Files?
No. A shortcut is a link in My files. Removing it takes out the link and leaves the folder and files in SharePoint for everyone.
Can I Confirm the Files are Still in SharePoint After Removal?
Yes. Open the SharePoint site and check that the folder and files are still there. The check takes about ten seconds.
Can I Recover Files I Deleted by Mistake?
Yes. Deleting the shortcut alone does not delete files but deleted files return from the SharePoint site recycle bin. Your local recycle bin does not hold them.
Published 14 October 2026. Steps and limits come from Microsoft Learn and Microsoft Support pages on syncing a shortcut folder and adding shortcuts to shared folders in OneDrive, plus Microsoft Q&A answers on deleted shortcuts.