Forum Discussion
Remove "Add shortcut to OneDrive" from Sharepoint Sites
There is a UserVoice about this - have a look here and vote for it too.
Best bet is to test that Powershell, and if it doesn't work, then raise a ticket to MS to get this resolved. This new feature isn't wanted by us either, and we want it turned off too.
Removing the add shortcut to Onedrive from sharepoint Sites is working again.
Update your sharepoint powershell module and run the command to disable the shortcut
Shortcut is now gone in my Tenant.
- Richard JennerApr 09, 2021Brass ContributorI just ran this and 15 minutes later it is removed from my tenant. 🙂
When i run get-spotenant i don't see a listing for that setting though.....- Scott PatersonApr 12, 2021Copper Contributor
Richard Jenner ok, so I have just checked and the Add Shortcut link is now NOT appearing in our Document libraries so it seems it has worked after all... Well thats good !
- rpodricJun 11, 2021Bronze ContributorWhat does "while the feature is in Public Preview" imply? Isn't it out of Public Preview now? I thought that's what the "generally available" post in December was about. I just hope that this isn't a command designed to expire at some point, because that wouldn't make any sense.
- Joe McGiven CorbanMar 22, 2021Brass Contributor
Awesome, thanks for confirming RonaldvdMeer - our GA's applied the setting, and it works! It can take about 15 mins or so to propagate, but after the delay it was removed on all sites.
Great to have that button removed - we only want the Sync option to be there, and not have folks 'sync' SharePoint libraries to their OneDrive. Cheers
- TheCleanerJun 17, 2021Copper Contributor
I updated my modules and was able to run the command and get the yellow comment about it "being in preview".
Unfortunately after multiple days, the choice remains in all document libraries.