Forum Discussion
Add Shortcut to OneDrive still deleted SharePoint Online files
I added the shortcut by going to each SharePoint Online site and pressing the "Add shortcut to OneDrive" button in the relevant Shared Document.
When OneDrive desktop app was syncing files, I began to get errors such as file path too long, so I was fixing them one by one - by renaming them to shorter file names.
Regards,
Michael
https://support.microsoft.com/en-us/office/add-shortcuts-to-shared-folders-in-onedrive-for-work-or-school-d66b1347-99b7-4470-9360-ffc048d35a33
"I was confident that they were not linked directly to the SharePoint Online site - I mean how can they!?" The feature is that they ARE linked directly to the SharePoint Online site.
- MichaelDelpachJul 02, 2022Brass Contributor
Mike Williams deleting the Shortcut folder must not delete the contents in the SharePoint Online site. That's the whole point of the Shortcut.
- Mike WilliamsJul 02, 2022Iron ContributorNo it isn't. You must distinguish between DELETION and UNLINKING or clearing space. If you DELETE synchronised objects, you delete them everywhere.
If you want to remove the shortcut, right-click and choose "Remove shortcut". Deleting it does exactly what it's supposed to and what you've witnessed.- MichaelDelpachJul 02, 2022Brass Contributor
That's not true. I deleted the entire folder (Shortcut folder) using my Work PC, and there was nothing deleted from the SharePoint Online Shared Documents. Above is my Home PC, and definitely something wrong happened.
I performed the exact operation using my Work PC. In File Explorer, I deleted the Shortcut. The shortcut got deleted. No impact in SharePoint Online.
The day before that, I deleted the Shortcut using my Home PC in File Explorer. There were some files deleted in SharePoint Online and as I said the shortcut icon had disappeared as well. Please check my screenshots in my original post. There was definitely an anomaly which I can't explain.