Home

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%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%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%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
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

6 Replies
By the way: a waiting time over 8 hours didn't work either. (as advised by Microsoft)
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.

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.

@PatrickF11 

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

Hi @Jimbo_Jones,

 

until now it is not working for me.

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

Related Conversations
Block Group Communications
danthetechman in Microsoft Teams on
12 Replies
Delete Group but not Team
Ramsay Zaki in Office 365 on
5 Replies
OneDrive date modified without changing the file
RahamimL in OneDrive for Business on
4 Replies