Forum Discussion
SharePoint Online Team Sites - AutoMount
- Jan 11, 2019Hi!
Still on the Microsoft 365 Roadmap as in development
https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=Onedrive%2Cfor%2CBusiness
Featured ID: 27031
Added to Roadmap: 5/21/2018
Last Modified: 1/10/2019
Tags: OneDrive for Business, All environments
Hope that answers your question!
Best, Chris
Howdy!
I've been working with Microsoft and finally got this figured out today, and working consistently. Please see below for instructions to get this working:
Pre-Requisites:
Tenant ID (A):
- First, get your tenant ID using the steps in the following document:
- https://docs.microsoft.com/en-us/onedrive/find-your-office-365-tenant-id
- Copy this address somewhere like notepad, it will be in a format of XXXXXX-XXXXX-XXXXX......
- Next we need to replace the dashes with their HTML format: %2D
- For example: 11111-11111-11111..... should become:
- 11111%2D11111%2D11111.....
- Make note of this newly formatted ID
Library ID:
- Navigate to the library you are trying to sync
- Press "Sync"
- Press "Copy library ID"
- Press "Allow Access" if it pops up
- Paste the ID somewhere like notepad.
Formatting the URL (B):
- In the library ID look for the following line and paste it in another location in notepad:
- webUrl=https%3A%2F%2Fyourdomain%2Esharepoint%2Ecom%2Fsites%2Fsitename
- We now need to un-format this from HTML and put it as a regular URL. So, the line above would become:
- webUrl=https://yourdomain.sharepoint.com/sites/sitename
- Make note of the newly formatted URL.
Putting it all together:
Now we need to take all of the information we gathered and create the final library ID.
- Find your un-edited Library ID.
- Make the following changes to the URL:
- tenantId=<Your updated tenantId> - (A) listed above.
- webUrl=<Your updated URL> - (B) listed above.
- Your final result should look like below:
- tenantId=XXXXXXXX%2DXXXX%2DXXXXX.....&siteId=.....&webId=.....&listId=.....&folderId=.....&webUrl=https://yourdomain.sharepoint.com/sites/sitename&version=1
Creating the GPO:
Now follow the steps in the the "Use Group Policy to control OneDrive sync client settings" document to create your group policy (Mine is based on User):
https://docs.microsoft.com/en-us/onedrive/use-group-policy
- Deploy the GPO to your test machine(s)
- Ensure that the registry gets successfully updated
Waiting:
This will not work right away, no matter how much rebooting, closing/opening OneDrive, refreshing group policy you do. After some time passes, something will trigger the sync and the folder (should) will magically appear for you. For me; it took 2 hours from when the GPO was applied, to when it decided to sync itself.
My config:
OS: Windows 10, 1903
OneDrive: 19.123.0624.0005
Hope that helps!
Deleted I wonder why that worked for me without copying an tennant ID but with the literally copied sync path directly from library i want to sync.
I fell this is literally massive BETA test:)
- DeletedAug 23, 2019
I wonder that too! While working with Microsoft they sent me a URL to test with, and I noticed it was the ID that I described in the instructions. What is odd is that if you do the whole "Copy Library ID" it has a totally different tenantID. ¯\_(ツ)_/¯
- mronsmansSep 26, 2019Copper Contributor
I am unrolloing this feature in my organisation and it is syncing fine, but I encountered a new problem. I have everything configged in InTune: 2 libraries sync fine with the "device" key for every device, then I have a policy for every departement to sync its own library. Now InTune is giving me conflicts for those user who is a member of 2 departements. Why doesn't it just sync both libraries, I don't see a conflict? It used to work through GPO when we had a hybrid setup.
Any ideas?
- Christian TaverasOct 02, 2019Iron ContributorI tried to use the Intune method as Id love to move away from GPO and DC's in general but those intune settings just do not work for me. Azure support said its still basically in preview....