Jan 15 2021 10:29 AM
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?
Oct 06 2021 05:57 AM
Feb 23 2022 08:42 AM
this didn't work for me the first few times either. tried a week later and it worked....?
use the following:
Connect-SPOService "https://domain-admin.sharepoint.com"
Set-SPOTenant -DisableAddShortCutsToOneDrive $True
you can use "Get-SPOTenant" to see if it has worked - the parameter is actually listed as "DisableAddToOneDrive", but using this parameter doesn't work (you have to use the one listed above)
I wanted this disabled, as over the last year a couple of users have "somehow" deleted the whole sharepoint document library, and I'm pretty sure it's something to do with this shortcut (as discussed in below article)
Mar 21 2022 03:56 AM - edited Mar 21 2022 11:59 AM
Hi
I had the same problem that this command was not chancing anything. I resolved it by running:
Update-Module -Name Microsoft.Online.SharePoint.PowerShell
After that I run the command again: Set-SPOTenant -DisableAddShortcutsToOneDrive $True
Now it worked within few seconds :)
Jun 23 2022 03:32 PM
@RanchoJack totally agree. This "Add shortcut to OneDrive" is a deadly feature as it stops syncing already synced SharePoint Onlines sites without users knowing. I cannot believe Microsoft would roll out some out like this. I had a few users who kept working in their local copy of SharePoint Online site thinking they are connected, but they had inadvertently also added a folder or two from SharePoint Online to their OneDrive using this "Add shortcut to OneDrive" button. When you later find this out, and try to sync the SharePoint Online library, you cannot do that either because OneDrive app would say: cannot sync.
Feb 08 2023 04:13 PM
Apr 18 2023 09:31 PM
Sep 18 2023 07:41 AM
I agree that the experience is better IF they only every try to sync that one location.
The problem comes in that they don't understand that syncing Folder C from folder A > B > C means that they now can't sync B or A.
What would be ideal (to my mind) would be something like folder
C added as shortcut, and try to add folder B or A, and so the client just moves everything and includes the NEW whole filepath requested - and B (and C) or A (and B>C are all synced at the highest requested folder level synced.
Right now, if you add Shortcuts to the OneDrive, it also prevents SharePoint sites showing up as separate entries, which I feel is a MUCH cleaner experience for the users to FIND the files and understand where they are saved into.
For Example last week I had users who didn't understand why everything was saved "into their OneDrive" but "copies" were "also saved in" the SharePoint sites.
They were trying to CLEAN UP the "Extra" OneDrive copies!
These of course weren't ACTUALLY copies or extra, but they had SHORTCUTS INTO the SharePoint sites, and were actively deleting important files and causing chaos in their organization.
The versioning systems let us restore things fine, but they had no idea the shortcuts were linking things.
Cleared out the shortcuts, and set them up with separately synced libraries and now it was obvious WHERE things were stored!
Jan 26 2024 05:32 AM