OneDrive - Configure team site libraries to sync automatically

%3CLINGO-SUB%20id%3D%22lingo-sub-1057694%22%20slang%3D%22en-US%22%3EOneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1057694%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20would%20like%20to%20use%20the%20possibility%20to%20sync%20SharePoint%20libraries%20automatically.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETherefore%20I've%20already%20created%20a%20new%20profile%20(type%3A%20administrative%20template)%20and%20set%20the%20%22%3CFONT%3EConfigure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FFONT%3E%22%20setting.%20(Enabled%2C%20a%20Display%20Name%2C%20and%20the%20Value)%3C%2FP%3E%3CP%3EI've%20found%20out%20the%20library%20ID%20as%20described%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fuse-group-policy%23AutoMountTeamSites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20via%20%22copy%20library%20id%22%20within%20a%20SharePoint%20website.%20(Click%20on%20%22syncronize%22%20and%20then%20select%20%22copy%20library%20id%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20my%20administrative%20templates%20profile%20i've%20put%20the%20whole%20string%20copied%20before%20into%20the%20value.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnfortunately%20this%20isn't%20working.%20The%20profile%20is%20applied%20correctly%2C%20but%20the%20OneDrive%20client%20isn't%20syncronizing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20why%20i%20dived%20deeper%20into%20the%20registry%3A%3C%2FP%3E%3CP%3E%3CFONT%3EHKEY_CURRENT_USER%5CSoftware%5CPolicies%5CMicrosoft%5COneDrive%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3EAt%20this%20point%20I've%20found%20the%20applied%20setting%2C%20so%20the%20client%20is%20receiving%20this%20setting.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3EBy%20the%20way%3A%20I%20also%20tried%20converting%20the%20string%20i%20got%20from%20the%20%22copy%20library%20id%22%20as%20i%20was%20told%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fonedrive%2Fuse-group-policy%23AutoMountTeamSites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3EAny%20idea%2C%20why%20this%20isn't%20working%3F%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3ERegards%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3EPatrick%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1057694%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elibraries%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1059665%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1059665%22%20slang%3D%22en-US%22%3EBy%20the%20way%3A%20a%20waiting%20time%20over%208%20hours%20didn't%20work%20either.%20(as%20advised%20by%20Microsoft)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1060404%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1060404%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20you%20seen%20this%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F323%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fissues%2F323%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20seems%20this%20setting%20just%20doens't%20work%20correctly.%20This%20isn't%20an%20Intune%20issue%2C%20but%20a%20Onedrive%20issue.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20just%20tested%20it%20and%20it%20doesn't%20show%20up%20for%20me%20also.%20I%20would%20(unfortunately)%20advise%20against%20using%20this%20policy%20as%20it's%20just%20not%20bug%20free.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1061882%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1061882%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20link.%3C%2FP%3E%3CP%3EEveryhting%20I've%20read%20so%20far%20was%20about%20%22it's%20working%22.%3C%2FP%3E%3CP%3EIt%20seems%20to%20bee%20a%20timing%20problem%20%2F%20bug.%3C%2FP%3E%3CP%3E%22might%20work...%20or%20not%22.%3C%2FP%3E%3CP%3EThis%20is%20of%20course%20inacceptable.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1095676%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1095676%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20where%20does%20that%20leave%20us%3F%26nbsp%3B%20did%20you%20get%20this%20resolved%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1096205%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1096205%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F509749%22%20target%3D%22_blank%22%3E%40Jimbo_Jones%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Euntil%20now%20it%20is%20not%20working%20for%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1109076%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1109076%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eworthy%20of%20an%20update.%26nbsp%3B%20I%20have%20found%20that%20this%20actually%20works.%26nbsp%3B%20but%20it%20takes%20days%20to%20take%20effect.%26nbsp%3B%20The%20policy%20applies%20the%20registry%20keys%20very%20quickly%2C%20but%20the%20time%20at%20which%20it%20takes%20for%20OneDrive%20to%20show%20the%20drives%20on%20a%20machines%20is%20waaaay%20longer%20than%208%20hours.%26nbsp%3B%20in%20my%20case%2C%20days%20and%20days.%26nbsp%3B%20up%20to%204-5.%26nbsp%3B%20but%20they%20do%20appear.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20thinking%20about%20it.%26nbsp%3B%20it%20seemed%20to%20take%208%20hours%20or%20so%20after%20I%20rebooted.%26nbsp%3B%20so%20it%20might%20be%20worth%20testing%20a%20reboot%20and%20them%20wait%20up%20to%208%20hours.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1219189%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1219189%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F509749%22%20target%3D%22_blank%22%3E%40Jimbo_Jones%3C%2FA%3E%26nbsp%3BThe%20same%20for%20me%2C%20after%20setting%20it%20up%20it%20didn't%20work.%20Waited%20the%20weekend%2C%20and%20suddenly%20the%20synced%20document%20library%20appeared.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStrange%20and%20frustrating....%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1227309%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1227309%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F509749%22%20target%3D%22_blank%22%3E%40Jimbo_Jones%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAh%20okay%2C%20thank%20you%20for%20your%20feedback%2C%20this%20is%20really%20nice%20to%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1307615%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1307615%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3BDid%20this%20ultimately%20work%20for%20you%3F%3C%2FP%3E%3CP%3EI'm%20in%20the%20%22waiting%208%2B%20hours%20phase%22%20myself.%3C%2FP%3E%3CP%3EI%20noticed%20there%20were%20two%20identical%20profile%20settings%20for%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%22Configure%20team%20site%20libraries%20to%20sync%20automatically%22.%26nbsp%3B%20One%20in%20the%20User%20section%2C%20one%20in%20the%20Computer%20Section.%26nbsp%3B%20I%20applied%20the%20same%20option%20in%20both%2C%20figured%20I%20had%202x%20the%20chance%20of%20it%20working.%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1432646%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1432646%22%20slang%3D%22en-US%22%3ECurrently%20i'm%20not%20using%20this%20method%20neither%20any%20workaround.%20Sorry.%3CBR%20%2F%3EIt%20is%20simply%20not%20working%20good%20enough%20for%20me.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1484355%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1484355%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20agree%20with%20you%2C%20the%20profile%20is%20simply%20not%20good%20enough.%3C%2FP%3E%3CP%3E%3CSTRONG%3EBen%20Reader%3C%2FSTRONG%3E%20explains%20the%20limits%20of%20the%20ADMX%20profile%20in%20%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZoac9lbUuG0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%20video%3C%2FA%3E%2C%20and%20has%20built%20a%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftabs-not-spaces%2FCodeDump%2Fblob%2Fmaster%2FSync-SharepointFolder%2FSync-SharepointFolder.ps1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPS%20script%3C%2FA%3E%20that%20makes%20the%20synchronization%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20simply%20works%20perfectly.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1623794%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1623794%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F578085%22%20target%3D%22_blank%22%3E%40Quubit%3C%2FA%3E%26nbsp%3BDid%20you%20apply%20the%20%22configure%20team%20site%20libraries%20to%20sync%20automatically%22%20sites%20to%20the%20computer%20setting%20(versus%20the%20user%20setting)%3F%26nbsp%3B%20Since%20S%2FP%20sites%20are%20user%20group%20based%20I'd%20assume%20this%20is%20a%20user%20setting%2C%20yet%20every%20article%20I%20read%20suggests%20there%20should%20all%20be%20done%20on%20the%20Computer%20Setting.%26nbsp%3B%20A%20lot%20of%20the%20settings%20exist%20in%20both%20places.%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624196%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624196%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F621773%22%20target%3D%22_blank%22%3E%40AsTheCrowFlies%3C%2FA%3E%26nbsp%3Byeah%2C%20this%20is%20a%20user%20setting.%26nbsp%3B%20I%20don't%20use%20device%20settings%20that%20much%20anymore%20for%20most%20settings%20as%20user%20settings%20seem%20to%20apply%20more%20reliably.%26nbsp%3B%20in%20this%20case%20you%20could%20have%20multiple%20setups%20for%20different%20users%20as%20well.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624549%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624549%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F621773%22%20target%3D%22_blank%22%3E%40AsTheCrowFlies%3C%2FA%3E%26nbsp%3BI've%20actually%20given%20up%20on%20this....%20this%20just%20isn'nt%20working%20good%20enough%20for%20me.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20switched%20to%20using%20a%20script%20instead%20which%20is%20working%20quite%20well!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftabs-not-spaces%2FCodeDump%2Fblob%2Fmaster%2FSync-SharepointFolder%2FSync-SharepointFolder.ps1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftabs-not-spaces%2FCodeDump%2Fblob%2Fmaster%2FSync-SharepointFolder%2FSync-SharepointFolder.ps1%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZoac9lbUuG0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZoac9lbUuG0%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624765%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624765%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHI%20take%20a%20look%20at%20%3CA%20href%3D%22https%3A%2F%2Fcall4cloud.nl%2F2020%2F07%2Fonce-upon-a-time-in-the-automount-of-onedrive-team-sites%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcall4cloud.nl%2F2020%2F07%2Fonce-upon-a-time-in-the-automount-of-onedrive-team-sites%2F%3C%2FA%3E%26nbsp%3Bto%20reduce%20the%208%20hours%20timer.%3C%2FP%3E%3CP%3EAnd%20make%20sure%20to%20copy%20the%20library%20ID%20as%20you%20did.%20BUT!!!%20you%20have%20to%20replace%20some%20values.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%252D%20with%20-%3C%2FP%3E%3CP%3E%257B%20with%20%7B%3C%2FP%3E%3CP%3E%257D%20with%20%7D%26nbsp%3B%3C%2FP%3E%3CP%3E%253A%20with%20%3A%3C%2FP%3E%3CP%3E%252F%20with%20%2F%3C%2FP%3E%3CP%3E%252E%20with%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1626183%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1626183%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275685%22%20target%3D%22_blank%22%3E%40PatrickF11%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20this%20working%20in%20my%20environment.%20The%20policy%20I%20have%20has%20the%20two%20configured%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22fxc-section-control%20fxc-base%20msportalfx-customHtml%20msportalfx-form-formelement%22%3E%3CDIV%20class%3D%22azc-formElementSubLabelContainer%22%3E%3CDIV%20class%3D%22azc-formElementContainer%22%3E%3CDIV%3E%3CDIV%3E%3CSTRONG%3EConfigure%20team%20site%20libraries%20to%20sync%20automatically%20(USER)%3C%2FSTRONG%3E%3A%26nbsp%3B%3CSPAN%3EEnabled%3C%2FSPAN%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CSTRONG%3EUse%20OneDrive%20Files%20On-Demand%20(DEVICE)%3C%2FSTRONG%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EEnabled%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EOnce%20your%20devices%20sync%20with%20Intune%20you%20should%20see%20your%20libraries%20show%20in%20this%20Registry%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%3CSPAN%3EHKEY_CURRENT_USER%5CSOFTWARE%5CPolicies%5CMicrosoft%5COneDrive%5CTenantAutoMount%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMy%20understanding%20is%20that%20the%20up%20to%208%20hour%20wait%20period%20begins%20when%20OneDrive%20does%20it's%20next%20sync%2C%20and%20it%20has%20received%20the%20above%20registry%20key.%26nbsp%3B%20We've%20been%20more%20successful%20in%20speeding%20things%20up%20by%20signing%20out%20of%20OneDrive%20and%20then%20back%20in%20to%20start%20the%20%22timer%22.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EAlso%2C%20there%20is%20a%205000%20item%20limit%20per%20library%20and%201000%20device%20limit%20per%20policy.%26nbsp%3B%20This%20is%20a%20problem%20for%20larger%20companies%20that%20will%20need%20to%20be%20looked%20into.%26nbsp%3B%20However%2C%20you%20can%20break%20up%20your%20libraries%20so%20it%20stays%20under%20the%20content%20limit.%26nbsp%3B%20Trying%20to%20create%20multiple%20policies%20to%20get%20around%20the%20device%20limit%20in%20Intune%20won't%20work%20either%2C%20because%20you%20cannot%20have%202%20policies%20affecting%20the%20same%20target.%26nbsp%3B%20Meaning%2C%20if%20users%20have%20to%20access%20libraries%20in%20another%20policy%20it%20ain't%20happening.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1627599%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1627599%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697922%22%20target%3D%22_blank%22%3E%40GGotay%3C%2FA%3E%26nbsp%3BAre%20you%20applying%20the%20admin%20template%20to%20a%20user%20group%20or%20a%20device%20group%3F%26nbsp%3B%20What%20happens%20if%20you%20have%20a%20common%20area%20machine%20where%20different%20user%20logins%20might%20run%20in%20conflict%20with%20the%20libraries%20you%20specified%20in%20the%20%22Configure%20team%20site%20libraries%22%20key%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1627643%22%20slang%3D%22en-US%22%3ERe%3A%20OneDrive%20-%20Configure%20team%20site%20libraries%20to%20sync%20automatically%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1627643%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F778322%22%20target%3D%22_blank%22%3E%40AsTheCrowFlew%3C%2FA%3E%26nbsp%3Bit%20is%20targeting%20a%20user%20group.%26nbsp%3B%20The%20Files%20on%20Demand%20policy%20still%20applies%20(although%20this%20should%20probably%20be%20applied%20with%20your%20OneDrive%20Admin%20Template%20for%20good%20hygiene).%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20listed%20all%20of%20the%20libraries%20in%20one%20admin%20template%20policy.%20The%20registry%20changes%20in%20the%20Current%20User%20so%20if%20another%20user%20logs%20into%20that%20same%20machine%20it%20will%20still%20apply%20to%20the%20new%20user%20(given%20time%20restraints).%26nbsp%3B%20The%20user%20will%20only%20be%20able%20to%20access%20the%20library%20content%20they%20have%20privilege%20to.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20will%20note%20though%20that%20if%20your%20users%20have%20list%20access%20to%20see%20the%20top%20level%20folder%20then%20there%20will%20be%20a%20lot%20of%20libraries%20showing%20even%20if%20the%20content%20isn't%20viewable%20due%20to%20access%20restriction.%26nbsp%3B%20We%20are%20currently%20trying%20to%20tweak%20this%20now%20so%20that%20only%20the%20libraries%20you%20have%20access%20to%20show%20up%20in%20your%20File%20Explorer.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi,

 

i would like to use the possibility to sync SharePoint libraries automatically.

 

Therefore I've already created a new profile (type: administrative template) and set the "Configure team site libraries to sync automatically" setting. (Enabled, a Display Name, and the Value)

I've found out the library ID as described here via "copy library id" within a SharePoint website. (Click on "syncronize" and then select "copy library id".

 

At my administrative templates profile i've put the whole string copied before into the value.

 

Unfortunately this isn't working. The profile is applied correctly, but the OneDrive client isn't syncronizing.

 

That's why i dived deeper into the registry:

HKEY_CURRENT_USER\Software\Policies\Microsoft\OneDrive

At this point I've found the applied setting, so the client is receiving this setting.

By the way: I also tried converting the string i got from the "copy library id" as i was told to here.

 

Any idea, why this isn't working?

 

Regards

Patrick

18 Replies
Highlighted
By the way: a waiting time over 8 hours didn't work either. (as advised by Microsoft)
Highlighted
Hi

Have you seen this?
https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/323

It seems this setting just doens't work correctly. This isn't an Intune issue, but a Onedrive issue.

I have just tested it and it doesn't show up for me also. I would (unfortunately) advise against using this policy as it's just not bug free.
Highlighted

Hi @Thijs Lecomte 

 

Thank you for the link.

Everyhting I've read so far was about "it's working".

It seems to bee a timing problem / bug.

"might work... or not".

This is of course inacceptable.

Highlighted

@PatrickF11 

So where does that leave us?  did you get this resolved?

Highlighted

Hi @Jimbo_Jones,

 

until now it is not working for me.

Highlighted

@PatrickF11 

worthy of an update.  I have found that this actually works.  but it takes days to take effect.  The policy applies the registry keys very quickly, but the time at which it takes for OneDrive to show the drives on a machines is waaaay longer than 8 hours.  in my case, days and days.  up to 4-5.  but they do appear.

 

On thinking about it.  it seemed to take 8 hours or so after I rebooted.  so it might be worth testing a reboot and them wait up to 8 hours.

Highlighted

@Jimbo_Jones The same for me, after setting it up it didn't work. Waited the weekend, and suddenly the synced document library appeared.

 

Strange and frustrating.... 

Highlighted

@Jimbo_Jones 

 

Ah okay, thank you for your feedback, this is really nice to know.

Highlighted

@PatrickF11 Did this ultimately work for you?

I'm in the "waiting 8+ hours phase" myself.

I noticed there were two identical profile settings for 

"Configure team site libraries to sync automatically".  One in the User section, one in the Computer Section.  I applied the same option in both, figured I had 2x the chance of it working.
Highlighted
Currently i'm not using this method neither any workaround. Sorry.
It is simply not working good enough for me.
Highlighted

@PatrickF11 

I agree with you, the profile is simply not good enough.

Ben Reader explains the limits of the ADMX profile in this video, and has built a PS script that makes the synchronization working.

 

It simply works perfectly.

Highlighted

@Quubit Did you apply the "configure team site libraries to sync automatically" sites to the computer setting (versus the user setting)?  Since S/P sites are user group based I'd assume this is a user setting, yet every article I read suggests there should all be done on the Computer Setting.  A lot of the settings exist in both places.    

Highlighted

@AsTheCrowFlies yeah, this is a user setting.  I don't use device settings that much anymore for most settings as user settings seem to apply more reliably.  in this case you could have multiple setups for different users as well.

Highlighted

@AsTheCrowFlies I've actually given up on this.... this just isn'nt working good enough for me.

 

I've switched to using a script instead which is working quite well! 

 

https://github.com/tabs-not-spaces/CodeDump/blob/master/Sync-SharepointFolder/Sync-SharepointFolder....

 

https://www.youtube.com/watch?v=Zoac9lbUuG0

 

 

Steve and Ben discuss their PowerShell solution to configure SharePoint team site libraries to sync automatically in OneDrive. 00:00 - Intro 02:00 - Explaini...
Highlighted

@PatrickF11 

 

HI take a look at https://call4cloud.nl/2020/07/once-upon-a-time-in-the-automount-of-onedrive-team-sites/ to reduce the 8 hours timer.

And make sure to copy the library ID as you did. BUT!!! you have to replace some values. 

 

%2D with -

%7B with {

%7D with } 

%3A with :

%2F with /

%2E with .

 

 

Highlighted

@PatrickF11 

 

I have this working in my environment. The policy I have has the two configured below.

 

Configure team site libraries to sync automatically (USER)Enabled 
Use OneDrive Files On-Demand (DEVICE)Enabled
 
Once your devices sync with Intune you should see your libraries show in this Registry:
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\OneDrive\TenantAutoMount
 
My understanding is that the up to 8 hour wait period begins when OneDrive does it's next sync, and it has received the above registry key.  We've been more successful in speeding things up by signing out of OneDrive and then back in to start the "timer".
 
Also, there is a 5000 item limit per library and 1000 device limit per policy.  This is a problem for larger companies that will need to be looked into.  However, you can break up your libraries so it stays under the content limit.  Trying to create multiple policies to get around the device limit in Intune won't work either, because you cannot have 2 policies affecting the same target.  Meaning, if users have to access libraries in another policy it ain't happening.  
Highlighted

@GGotay Are you applying the admin template to a user group or a device group?  What happens if you have a common area machine where different user logins might run in conflict with the libraries you specified in the "Configure team site libraries" key?

Highlighted

@AsTheCrowFlew it is targeting a user group.  The Files on Demand policy still applies (although this should probably be applied with your OneDrive Admin Template for good hygiene).   

 

I listed all of the libraries in one admin template policy. The registry changes in the Current User so if another user logs into that same machine it will still apply to the new user (given time restraints).  The user will only be able to access the library content they have privilege to.

 

I will note though that if your users have list access to see the top level folder then there will be a lot of libraries showing even if the content isn't viewable due to access restriction.  We are currently trying to tweak this now so that only the libraries you have access to show up in your File Explorer.