Remove "Add shortcut to OneDrive" from Sharepoint Sites

%3CLINGO-SUB%20id%3D%22lingo-sub-2065350%22%20slang%3D%22en-US%22%3ERemove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065350%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20our%20users%20want%20to%20use%20the%20'Sync'%20and%20not%20the%20'shortcut%20to%20OneDrive'%20for%20file%20on%20the%20Sharepoint%20sites.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20able%20to%20run%20from%20powershell%3A%3C%2FP%3E%3CP%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOTenant%20-DisableAddShortcutsToOneDrive%20%24True%3CBR%20%2F%3E%3CFONT%20color%3D%22%23800000%22%3EWARNING%3A%20Users%20in%20your%20organization%20will%20no%20longer%20be%20able%20to%20add%20new%20shortcuts%20to%20their%20OneDrive%20while%20the%20feature%20is%20in%20Public%20Preview.%20However%2C%20existing%20shortcuts%20will%20remain%20functional.%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EWhich%20is%20exactly%20what%20we%20want%20but...%20It%20persists.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20on%20removing%20this%20from%20the%20sites%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22RanchoJack_0-1610735234152.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F246750i613BE7DA39069A61%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22RanchoJack_0-1610735234152.png%22%20alt%3D%22RanchoJack_0-1610735234152.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2065350%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2110163%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2110163%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F617297%22%20target%3D%22_blank%22%3E%40RanchoJack%3C%2FA%3E%26nbsp%3BI%20am%20having%20the%20same%20issue%2C%20by%20any%20chance%20did%20you%20get%20a%20solution%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2137877%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2137877%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20a%20UserVoice%20about%20this%20-%20have%20a%20look%20here%20and%20vote%20for%20it%20too.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330318-sharepoint-administration%2Fsuggestions%2F42090253-disable-add-shortcut-to-onedrive-for-a-document%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.uservoice.com%2Fforums%2F330318-sharepoint-administration%2Fsuggestions%2F42090253-disable-add-shortcut-to-onedrive-for-a-document%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20bet%20is%20to%20test%20that%20Powershell%2C%20and%20if%20it%20doesn't%20work%2C%20then%20raise%20a%20ticket%20to%20MS%20to%20get%20this%20resolved.%20This%20new%20feature%20isn't%20wanted%20by%20us%20either%2C%20and%20we%20want%20it%20turned%20off%20too.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2222541%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2222541%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139376%22%20target%3D%22_blank%22%3E%40Joe%20McGiven%20Corban%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERemoving%20the%20add%20shortcut%20to%20Onedrive%20from%20sharepoint%20Sites%20is%20working%20again.%3C%2FP%3E%3CP%3EUpdate%20your%20sharepoint%20powershell%20module%20and%20run%20the%20command%20to%20disable%20the%20shortcut%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EShortcut%20is%20now%20gone%20in%20my%20Tenant.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2228465%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228465%22%20slang%3D%22en-US%22%3E%3CP%3EAwesome%2C%20thanks%20for%20confirming%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F10381%22%20target%3D%22_blank%22%3E%40Ronald%20Meer%3C%2FA%3E%26nbsp%3B-%20our%20GA's%20applied%20the%20setting%2C%20and%20it%20works!%20It%20can%20take%20about%2015%20mins%20or%20so%20to%20propagate%2C%20but%20after%20the%20delay%20it%20was%20removed%20on%20all%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreat%20to%20have%20that%20button%20removed%20-%20we%20only%20want%20the%20Sync%20option%20to%20be%20there%2C%20and%20not%20have%20folks%20'sync'%20SharePoint%20libraries%20to%20their%20OneDrive.%20Cheers%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2246613%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2246613%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F617297%22%20target%3D%22_blank%22%3E%40RanchoJack%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20logged%20a%20call%20with%20Microsoft%20this%20morning%20as%20this%20command%20was%20not%20working%20for%20me.%20They%20have%20replied%20to%20inform%20me%20that%20this%20command%20no%20longer%20works.%20I%20did%20express%20concern%20that%20it%20is%20important%20that%20customers%20have%20the%20ability%20to%20switch%20this%20feature%20off%20as%20it%20is%20confusing%20and%20has%20some%20potential%20for%20users%20to%20misinterpret%20what%20they%20are%20seeing%20and%20make%20potentially%20dangerous%20changes%2Fdeletions%20to%20shared%20libraries.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20agent%20confirmed%20that%20he%20had%20heard%20similar%20concerns%20and%20suggested%20that%20I%20request%20this%20feature%20be%20re-instated.%20I%20will%20do%20but%20not%20holding%20much%20hope%20for%20it%20to%20re-appear%20any%20time%20soon.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2264440%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264440%22%20slang%3D%22en-US%22%3EI%20just%20ran%20this%20and%2015%20minutes%20later%20it%20is%20removed%20from%20my%20tenant.%20%3A)%3C%2Fimg%3E%3CBR%20%2F%3EWhen%20i%20run%20get-spotenant%20i%20don't%20see%20a%20listing%20for%20that%20setting%20though.....%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2268751%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2268751%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5995%22%20target%3D%22_blank%22%3E%40Richard%20Jenner%3C%2FA%3E%26nbsp%3B%20ok%2C%20so%20I%20have%20just%20checked%20and%20the%20Add%20Shortcut%20link%20is%20now%20NOT%20appearing%20in%20our%20Document%20libraries%20so%20it%20seems%20it%20has%20worked%20after%20all...%20Well%20thats%20good%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2439941%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2439941%22%20slang%3D%22en-US%22%3EWhat%20does%20%22while%20the%20feature%20is%20in%20Public%20Preview%22%20imply%3F%20Isn't%20it%20out%20of%20Public%20Preview%20now%3F%20I%20thought%20that's%20what%20the%20%22generally%20available%22%20post%20in%20December%20was%20about.%20I%20just%20hope%20that%20this%20isn't%20a%20command%20designed%20to%20expire%20at%20some%20point%2C%20because%20that%20wouldn't%20make%20any%20sense.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2458124%22%20slang%3D%22en-US%22%3ERe%3A%20Remove%20%22Add%20shortcut%20to%20OneDrive%22%20from%20Sharepoint%20Sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2458124%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F10381%22%20target%3D%22_blank%22%3E%40Ronald%20Meer%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20updated%20my%20modules%20and%20was%20able%20to%20run%20the%20command%20and%20get%20the%20yellow%20comment%20about%20it%20%22being%20in%20preview%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%20after%20multiple%20days%2C%20the%20choice%20remains%20in%20all%20document%20libraries.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

We have our users want to use the 'Sync' and not the 'shortcut to OneDrive' for file on the Sharepoint sites.  

I was able to run from powershell:

PS C:\WINDOWS\system32> Set-SPOTenant -DisableAddShortcutsToOneDrive $True
WARNING: Users in your organization will no longer be able to add new shortcuts to their OneDrive while the feature is in Public Preview. However, existing shortcuts will remain functional.

Which is exactly what we want but... It persists.

 

Any help on removing this from the sites?

RanchoJack_0-1610735234152.png

 

 

9 Replies

@RanchoJack I am having the same issue, by any chance did you get a solution for this?

There is a UserVoice about this - have a look here and vote for it too.

https://sharepoint.uservoice.com/forums/330318-sharepoint-administration/suggestions/42090253-disabl...

 

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. 

@Joe McGiven Corban 

 

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.

Awesome, thanks for confirming @Ronald Meer - 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

@RanchoJack 

I have logged a call with Microsoft this morning as this command was not working for me. They have replied to inform me that this command no longer works. I did express concern that it is important that customers have the ability to switch this feature off as it is confusing and has some potential for users to misinterpret what they are seeing and make potentially dangerous changes/deletions to shared libraries.

 

The agent confirmed that he had heard similar concerns and suggested that I request this feature be re-instated. I will do but not holding much hope for it to re-appear any time soon.

I 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.....

@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 !

 

What 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.

@Ronald Meer 

 

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.