So far I was able to get this working with manually setting the registry keys. Presumeably it should work when setting them by GPO just as Alan Rocha mentions.
Environment:
- Windows 10 1607
- Domain joined PC and domain user account
- Office 365 enterprise license
- Hybrid AD
- OneDrive 17.3.7076.1026 - previous versions do NOT work
Steps Followed:
- Set the SilentAccountConfig and EnableADAL keys
- Unlink the PC (in case OneDrive was previously configured)
- Close OneDrive
- Launch OneDrive (either from Start Menu or command line)
- You should see a grey OneDrive icon appear for a few seconds followed by a blue “up to date” icon. Then a ribbon should appear saying you are now syncing OneDrive...
The above steps worked the first time. However, once configured silently the first time, OneDrive will not silently configure again. This is because an additional DWORD [HKEY_Current_User\Software\Microsoft\OneDrive\SilentBusinessConfigCompleted] is set to "1". This DWORD will keep the silent config from working again on the same PC. So you will either need to set it to "0" or delete it.