3 weeks ago
I'm trying to have OneDrive function on our company devices so that when they login and Onedrive prompts their login for Onedrive specifically it will automatically start backing up the local documents and desktop to Onedrive.
I've tried a lot of variations and done a lot of searching through these forums but nothing's working. I have a Config Profile - > Apps + Custom Settings -> Upload -> com.microsoft.OneDrive. and below is the plist . Is there anything clearly wrong here, I'm stumped.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0">
<dict> <key>DisablePersonalSync</key>
<true/>
<key>DisableTutorial</key>
<true/>
<key>AutomaticUploadBandwidthPercentage</key>
<integer>30</integer>
<key>FilesOnDemandEnabled</key>
<true/>
<key>BlockExternalSync</key>
<true/>
<key>AllowTenantList</key>
<dict>
<key>TenantID</key>
<true/>
</dict>
<key>KFMSilentOptIn</key>
<string>TenantID</string>
<key>KFMSilentOptInWithNotification</key>
<true/>
<key>KFMBlockOptOut</key>
<true/>
<key>KFMOptInWithWizard</key>
<string>TenantID</string>
</dict>
</plist>
3 weeks ago - last edited 3 weeks ago
You are missing the desktop and documents redirect keys. This is a link to Microsoft Documentation for OneDrive for macOS, generally the keys between Windows and macOS are the same. https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos
The bottom key hides the user notification, you can leave it off if you want users to be notified. Be aware in my testing which is not extensive, macOS is not happy when you redirect the desktop.
<key>KFMSilentOptInDesktop</key>
<true/>
<key>KFMSilentOptInDocuments</key>
<true/>
<key>KFMSilentOptInWithNotification</key>
<true/>
This is what we deploy, granted I have the syncs disabled as there is very little reason to back up workstations but each organization is different.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BlockExternalSync</key>
<true/>
<key>DefaultFolderLocation</key>
<array>
<dict>
<key>TenantID</key>
<string>Something_Awesome_Here</string>
</dict>
</array>
<key>DisableHydrationToast</key>
<true/>
<key>DisableTutorial</key>
<true/>
<key>EnableAllOcsiClients</key>
<true/>
<key>HideDockIcon</key>
<true/>
<key>KFMBlockOptOut</key>
<true/>
<key>KFMSilentOptIn</key>
<string>Something_Awesome_Here</string>
<key>KFMSilentOptInDesktop</key>
<false/>
<key>KFMSilentOptInDocuments</key>
<false/>
<key>KFMSilentOptInWithNotification</key>
<true/>
<key>OpenAtLogin</key>
<true/>
<key>SharePointOnPremPrioritzationPolicy</key>
<integer>0</integer>
<key>DisablePersonalSync</key>
<true/>
</dict>
</plist>
3 weeks ago
Thank you for this ! I tried it and it doesn't seem like my documents are syncing still. Then I go into manage backups it's unconfigured , and when I test files out and save them to my local documents and desktop they don't move or duplicate in OneDrive. Are those the best ways to tell if it's actually working or is there a different way I'm not thinking of ? Als why wouldn't this have worked :( The documentation for these seem so straightforward , I feel like I must be missing something obvious.
3 weeks ago
May want to check your OneDrive configurations on the console side to make sure some setting is not restricting this on the Microsoft side.
All and all as you noticed its fairly straight forward. Once configured, if you open OneDrive on the device, the manage folder backups will be enabled and have a comment that your IT department does not allow you to disable backups.
3 weeks ago
We have no settings in place for Onedrive , is there a default setting that could be blocking this ?
3 weeks ago
I tried this out after going through other responses and it will not let me sync my Onedrive at all but at least it's showing signs of working. Any other advice ?
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0">
<dict>
<key>DisablePersonalSync</key>
<true/>
<key>DisableTutorial</key>
<true/>
<key>AutomaticUploadBandwidthPercentage</key>
<integer>30</integer>
<key>FilesOnDemandEnabled</key>
<true/>
<key>BlockExternalSync</key>
<true/>
<key>AllowTenantList</key>
<dict>
<key>"TenantID"</key> <true/> </dict>
<key>KFMSilentOptIn</key>
<string>"TenantID"</string>
<key>KFMSilentOptInWithNotification</key>
<true/> <key>KFMBlockOptOut</key> <true/> </dict> </plist>