Remove SharePoint shortcut from OneDrive: every method
Remove SharePoint shortcut from OneDrive: every method explained
To remove a SharePoint shortcut from OneDrive, right-click the folder and select "Remove shortcut" — not "Delete." That single distinction is the difference between cleaning up your file view and potentially disrupting shared content for your entire team.
TL;DR
- Right-click the shortcut folder → select "Remove shortcut" (never "Delete") in browser, Windows, or macOS
- For bulk removal, use PowerShell with Microsoft Graph or automate via CodeWords
- Removing a shortcut only removes the pointer — SharePoint files stay untouched for all users
Methods
Browser (onedrive.com): Right-click the shortcut folder → select "Remove shortcut." The shortcut disappears immediately; the original SharePoint library and all files remain intact. Desktop (Windows/macOS): Navigate to the OneDrive directory, right-click the shortcut folder with the chain-link badge, select "Remove shortcut." Update your OneDrive sync client to version 22.0+ if the option doesn't appear. Admin bulk removal: Use Microsoft Graph API — shortcuts appear as drive items with a remoteItem property. DELETE the drive item ID to remove the shortcut without affecting the SharePoint source.
Automate shortcut cleanup with CodeWords
Build a recurring CodeWords workflow that scans OneDrive for remoteItem entries, applies retention rules (keep shortcuts accessed within 30 days, flag stale ones), removes shortcuts meeting cleanup criteria, and sends a summary to IT via Slack. Automate your OneDrive and SharePoint management on CodeWords →





