Fix OneDrive Shortcut Endless Loop on Mac
Question details
A OneDrive shortcut continuously replicates itself on a Mac, resulting in an endless loop of nested shortcuts that regenerate even after being deleted.

- Product
- OneDrive
- Device & OS
- macOS
- Scenario
- Managing synced files and shared folders within the local OneDrive application on a Mac.
- Observed behavior
- Clicking or opening a specific OneDrive shortcut creates another shortcut pointing to the exact same location, forming an infinite loop.
Ensure you have a stable internet connection and know your Microsoft account credentials, as you will need to sign back into OneDrive during the troubleshooting process.
Unlink and Relink Your OneDrive Account
Resetting the connection between your Mac and the OneDrive servers is the most effective way to clear synchronization glitches causing the shortcut loop.
Unlinking your account will not delete any files or data. It merely pauses the connection so you can safely remove the looping file and restart a clean sync.
Click the OneDrive cloud icon located in the Mac menu bar at the top of your screen.
Click the gear icon (Help & Settings) and select Preferences. Go to the Account tab and click on 'Unlink this Mac'.
Open a web browser, log into OneDrive online, locate the problematic shortcut, and delete it permanently from the cloud.
Quit the OneDrive application on your Mac entirely. Restart the app, enter your Microsoft credentials, and follow the setup prompts to link your account again.

Check Shared Folder Permissions
If the shortcut is part of a shared folder, permission conflicts might be forcing the file to recreate itself.
Upgrade Your Productivity with WPS Office
If persistent OneDrive sync errors and application glitches on macOS are disrupting your workflow, consider switching to WPS Office. It provides a lightweight, fast, and fully compatible alternative to Microsoft Office, complete with its own reliable WPS Cloud storage.
- 1. Download for Mac: Download and install WPS Office directly from the official website or Mac App Store.
- 2. Enable WPS Cloud: Sign in with your email or social account to activate your free WPS Cloud storage for automatic backups.
- 3. Open Existing Files: Drag and drop your Microsoft Office files into WPS to continue working without losing any formatting or data.

Frequently Asked Questions
Why does a shortcut create an endless loop in OneDrive?
This usually happens due to a synchronization glitch or a directory conflict where a shortcut inadvertently points to its own parent folder, causing OneDrive to duplicate it infinitely during the sync process.
Will unlinking my Mac from OneDrive delete my local files?
No, unlinking your Mac simply disconnects the sync process. Your downloaded files remain safe in your local OneDrive folder, and your cloud files remain secure on Microsoft's servers.
How do I permanently delete a file that keeps coming back?
The most effective method is to pause sync or unlink your account, delete the file directly from the OneDrive website using a web browser, and then relink your desktop application.
Can I use shortcuts in shared folders without creating loops?
Yes, but you should use the 'Add shortcut to My files' feature carefully. Ensure you have the proper editing permissions for the shared folder and avoid placing shortcuts inside the exact folders they are referencing.




