![configuring onedrive for business sync client for company configuring onedrive for business sync client for company](https://i0.wp.com/www.adamfowlerit.com/wp-content/uploads/2019/03/2019-03-21-10_08_25-OneDrive-for-Business-Admin-Preview.png)
There is a limitation on the number of character files names and folder names can be, file names can be up to 256 characters. You can sync files of up to 2 gigabytes (GB). Getting them connected was a bit of a strugle, however i’m now trying to get them automatically disconnected. There are few limitations about the files in OneDrive for Business: You can sync up to 20,000 items to OneDrive for Business libraries. The result string will look something like below (listTitle is the display name for the library in Explorer, you can change it if you want to avoid duplicate names) “odopen://sync/?siteId=&webId=&listId=&listTitle=&userEmail=&webUrl=”įinally, replace spaces with %20, – (minus) with %2D and with %40 in your string, then write each string line by line to a textfile as ps1, and let it execute (use psrun.exe to get it run silently) Using New-Object ($siteUrl) you can obtain SiteId, WebId, ListId and ListTitle Then you need to get all the items required for formatting a string for each site Url. The sourcecode can’t be made public unfortunately, since there’s a lot more to it, however I can explain the way it functions.įirst of all, you need to configure the OneDrive Client through the registry (“HKCU\SOFTWARE\Microsoft\OneDrive” set “EnableADAL” to 1) I’ve got a working solution for this in python. Start "odopen://sync/?siteId=$siteid&webId=$webid&listId=$listid&userEmail=$upn&webUrl=$URL&webtitle=$webtitle&listtitle=$listtitle" $path = "C:\Users\$($env:username)\Lime Networks BV\Lime Networks - $($listtitle)" $strFilter = “(&(objectCategory=User)(SAMAccountName=$Env:USERNAME))” $Version = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name ReleaseID | Select-Object ReleaseID #Sleep is required, if the same script runs at the same time it'll mess up the configuration. Its still in a pretty unfinished state, but it might help you if you are currently struggling with this: The only sad part about it is that my pretty cool logon script will become useless fairly soon, anyway I’m sharing this to everyone.
![configuring onedrive for business sync client for company configuring onedrive for business sync client for company](https://content.spiceworksstatic.com/service.community/p/post_images/0000215349/58402988/attached_image/One_Drive_Personel_Business.png)
Combined with Files on Demands most users won’t even know the difference. Automapping sites will be a great benefit for migrations where users are saying goodbye to the good old file system, and hello to SharePoint online.
![configuring onedrive for business sync client for company configuring onedrive for business sync client for company](https://www.inthecloud247.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-18-at-13.13.52.png)
Microsoft recently announced that the OneDrive for business client will support automatically mapping SharePoint sites – Which is something I’ve been working on to script for some time now.