is there a settings to 'add shortcut to onedrive' in any of the MDM policy settings

%3CLINGO-SUB%20id%3D%22lingo-sub-2279940%22%20slang%3D%22en-US%22%3Eis%20there%20a%20settings%20to%20'add%20shortcut%20to%20onedrive'%20in%20any%20of%20the%20MDM%20policy%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2279940%22%20slang%3D%22en-US%22%3E%3CP%3ECurrently%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20have%20setup%20adding%20shared%20libraries%20to%20onedrive%20when%20users%20enrol%20thier%20windows%2010%20devices.%26nbsp%3B%20This%20has%20been%20working%20great%20over%20the%20years.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20we%20have%20been%20advising%20users%20to%20use%20the%20'add%20shortcut%20to%20onedrive'%20when%20they%20have%20been%20shared%20a%20folder%20or%20document%20library%20internally%20and%20externally%20(i%20believe%20this%20is%20not%20an%20option%20externally%20yet).%26nbsp%3B%20And%20it%20looks%20like%20a%20linked%20folder%20via%20the%20link%20overlay%20on%20the%20icon%20-%20nice!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20seems%20to%20be%20a%20much%20better%20and%20cleaner%20way%20to%20access%20shared%20libraries%20and%20user%20folders%20within%20a%20single%20onedrive%20interface%20(desktop%2C%20web%20and%20mobile).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20we%20can%20have%20a%20shared%20folder%20automatically%20added%20like%20a%20linked%20folder%2Fadd%20to%20onedrive%20shortcut%20for%20new%20and%20existing%20users%3F%26nbsp%3B%20We%20understand%20if%20this%20is%20not%20a%20MDM%2FMAM%20setting%20and%20possibly%20a%20setting%20elsewhere.%26nbsp%3B%20Power%20Automate%20maybe%3F%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-2279940%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Application%20Management%20(MAM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2280001%22%20slang%3D%22en-US%22%3ERe%3A%20is%20there%20a%20settings%20to%20'add%20shortcut%20to%20onedrive'%20in%20any%20of%20the%20MDM%20policy%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2280001%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIndeed%2C%20new%20users%20would%20not%20expierence%20this%20issue..THe%20only%20location%20(so%20far%20I%20know)%20where%20this%20setting%20is%20stored%20on%20the%20local%20device%20would%20be%3CBR%20%2F%3E%3CBR%20%2F%3EC%3A%5CUsers%5C*%5CAppData%5CLocal%5CMicrosoft%5COneDrive%5Csettings%5CBusiness1.%3CBR%20%2F%3EInside%20the%20234234234234.ini%20file.%20There%20is%20a%20difference%20if%20you%20compare%20them%3CBR%20%2F%3EAddedScope%20--%26gt%3B%20shortcut%3CBR%20%2F%3ELibraryScope%20--%26gt%3B%20teams%20mount%3CBR%20%2F%3E%3CBR%20%2F%3ELuckily%20users%20only%20need%20to%20configure%20this%20once...%20if%20they%20got%20a%20new%20device...%20the%20shortcut%20would%20be%20added%20also%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2279952%22%20slang%3D%22en-US%22%3ERe%3A%20is%20there%20a%20settings%20to%20'add%20shortcut%20to%20onedrive'%20in%20any%20of%20the%20MDM%20policy%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2279952%22%20slang%3D%22en-US%22%3Eyes%2C%20I%20will%20do%20more%20research%20and%20would%20be%20intrigued%20if%20it%20can%20be%20done.%3CBR%20%2F%3E%3CBR%20%2F%3Ecurrently%2C%20when%20you%20remove%20a%20library%20%2F%20shared%20folder%20from%20the%20onedrive%20app%20(settings--%26gt%3Baccount--%26gt%3Bstop%20synching)%2C%20the%20folder%20still%20exists%20and%20you%20have%20to%20remove%20it%20manually%20-%20which%20can%20be%20problematic%20as%20you%20will%20need%20to%20kill%20of%20some%20processes%20etc.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20you%20remove%20the%20shortcut%20however%2C%20it%20will%20actually%20remove%20remove%20the%20folder%20from%20the%20onedrive%20app%20as%20well.%20A%20much%20cleaner%20and%20smoother%20way%20for%20users%20for%20sure!%3CBR%20%2F%3E%3CBR%20%2F%3Ewith%20the%20duplicate%20names%2C%20thats%20something%20we%20need%20to%20test%20if%20we%20ever%20have%20to%20deploy%20the%20setting.%20however%2C%20this%20should%20not%20be%20an%20issue%20for%20new%20user%20onboarding%20experience.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2279945%22%20slang%3D%22en-US%22%3ERe%3A%20is%20there%20a%20settings%20to%20'add%20shortcut%20to%20onedrive'%20in%20any%20of%20the%20MDM%20policy%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2279945%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3ENot%20that%20I%20know%20of.%20It%20could%20also%20be%20hard%2C%20because%20when%20you%20have%20sharepoint%20sites%20mounted%20in%20onedrive%2C%20you%20will%20need%20to%20remove%20them%20first%20before%20you%20add%20the%20shortcut.%20Another%20problem%20would%20be%2C%20duplicate%20names...%20Sometimes%20you%20need%20to%20change%20the%20shortcut%20name%20first%2C%20before%20you%20could%20add%20another%20shortcut...%20I%20like%20the%20question...%20I%20am%20curious%20if%20anyone%20knows%20if%20it%20could%20be%20done%3C%2FLINGO-BODY%3E
Contributor

Currently,

 

we have setup adding shared libraries to onedrive when users enrol thier windows 10 devices.  This has been working great over the years.

 

But we have been advising users to use the 'add shortcut to onedrive' when they have been shared a folder or document library internally and externally (i believe this is not an option externally yet).  And it looks like a linked folder via the link overlay on the icon - nice!

 

This seems to be a much better and cleaner way to access shared libraries and user folders within a single onedrive interface (desktop, web and mobile). 

 

Is there a way we can have a shared folder automatically added like a linked folder/add to onedrive shortcut for new and existing users?  We understand if this is not a MDM/MAM setting and possibly a setting elsewhere.  Power Automate maybe?

 

 

3 Replies
Hi,

Not that I know of. It could also be hard, because when you have sharepoint sites mounted in onedrive, you will need to remove them first before you add the shortcut. Another problem would be, duplicate names... Sometimes you need to change the shortcut name first, before you could add another shortcut... I like the question... I am curious if anyone knows if it could be done
yes, I will do more research and would be intrigued if it can be done.

currently, when you remove a library / shared folder from the onedrive app (settings-->account-->stop synching), the folder still exists and you have to remove it manually - which can be problematic as you will need to kill of some processes etc.

When you remove the shortcut however, it will actually remove remove the folder from the onedrive app as well. A much cleaner and smoother way for users for sure!

with the duplicate names, thats something we need to test if we ever have to deploy the setting. however, this should not be an issue for new user onboarding experience.
Hi,

Indeed, new users would not expierence this issue..THe only location (so far I know) where this setting is stored on the local device would be

C:\Users\*\AppData\Local\Microsoft\OneDrive\settings\Business1.
Inside the 234234234234.ini file. There is a difference if you compare them
AddedScope --> shortcut
LibraryScope --> teams mount

Luckily users only need to configure this once... if they got a new device... the shortcut would be added also