Dec 10 2019 05:19 AM
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
Dec 10 2019 11:42 PM
Dec 11 2019 07:29 AM
Dec 12 2019 12:01 AM
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.
Jan 07 2020 03:11 PM
So where does that leave us? did you get this resolved?
Jan 08 2020 12:38 AM
Jan 14 2020 03:58 PM - edited Jan 14 2020 04:00 PM
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.
Mar 10 2020 12:22 AM
@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....
Mar 13 2020 09:39 AM
Apr 14 2020 05:00 PM
@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
Jun 01 2020 11:23 PM
Jun 23 2020 11:02 AM
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.
Aug 31 2020 12:57 PM
@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.
Aug 31 2020 05:26 PM
@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.
Sep 01 2020 12:37 AM
@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://www.youtube.com/watch?v=Zoac9lbUuG0
Sep 01 2020 02:27 AM
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 .
Sep 01 2020 01:20 PM
I have this working in my environment. The policy I have has the two configured below.
Sep 02 2020 04:40 AM
@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?
Sep 02 2020 04:53 AM
@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.
Nov 21 2021 06:05 AM
@GGotay Have you been able to tweek it so users only see that to wich they have access to?