Deploying Onedrive for Business is straight forward .The command line switches are very simple :"OneDriveSetup.exe" /silent ,but when you create application in Configmgr, there are couple of things that you need to focus on like detection method and install behaviour.
If you search online ,how to deploy onedrive for business using Configmgr, you will get various post however the following method is what i have been using and it works fine . I would like to share the solution in simple steps.
Create application that you do normally but use use the following information to fill detection method ,User experience and install command line .
Install command line:"OneDriveSetup.exe" /silent
Detection method : The version that i deployed to users (user based collection) is 17.3.7076.1026 hence my detection method will look for 17.3.7076.1026. (There is already latest version available yet to deploy )
Onedrive for Business will store the installation files in user profile (C:\Users\eswar.koneti\AppData\Local\Microsoft\OneDrive)
Registry key from user profile for uninstall:
Setting Type: Registry
Hive: HKCU
Key:Software\Microsoft\Windows\CurrentVersion\Uninstall\OneDriveSetup.exe
Value:DisplayVersion
Date Type: String
User Experience:
Deploy the application to user collection and you are good.
If you have any issues with this ,post via comment section.