3 weeks ago
Is it possible to deploy the OneDrive plist config file via jamf or does it have to be packaged in composer so it installs in the correct location?
Solved! Go to Solution.
2 weeks ago
I'd say maybe break it down to something a little more simple. Some of the settings you have configured conflict/are turned on by default. Try using this:
<?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>
3 weeks ago
3 weeks ago - last edited 3 weeks ago
Hi
You can deploy a configuration profile to configure all of your OneDrive preferences. Noting that there are differences with the payloads dependant on if you are using standalone or store app. com.microsoft.OneDrive (Standalone) versus com.microsoft.OneDrive-mac (Mac App Store). The link DBrowning posted has the preferance keys listed with additional information on how to configure/what they do.
In our environment we use custom JSON to deploy our OneDrive settings. If you are looking for a great starting point JSON schema, TalkingMoose has put up a pre-built one. jamf-manifests/Microsoft Office supplemental properties/Microsoft OneDrive properties (com.microsoft...
3 weeks ago
I used the the above Microsoft site to create my plist, but when it deploys, it doesn't take affect until I move it to /Library/Prefences. I also tested out the GitHub json, with the same settings, but I get errors that I don't have access to the files.
3 weeks ago
This is what I created using the custom schema file, but I get an error after logging in, OneDrive can't sync. Your IT department doesn't allow message. We have it enabled and at one point with one of the plist I created and moved to /Library/Preferences to test worked, but now is no longer working.
<?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>DefaultFolderLocation</key>
<array>
<dict>
<key>TenantID</key>
<string>"TenantID"</string>
<key>DefaultFolderPath</key>
<string>~/OneDrive - Mysite</string>
</dict>
</array>
<key>AutomaticUploadBandwidthPercentage</key>
<integer>30</integer>
<key>HideDockIcon</key>
<true/>
<key>FilesOnDemandEnabled</key>
<true/>
<key>BlockExternalSync</key>
<true/>
<key>AllowTenantList</key>
<dict>
<key>{{key}}</key>
<string>"TenantID"</string>
<key>{{value}}</key>
<true/>
</dict>
<key>KFMSilentOptIn</key>
<string>"TenantID"</string>
<key>KFMSilentOptInDesktop</key>
<true/>
<key>KFMSilentOptInDocuments</key>
<true/>
<key>KFMSilentOptInWithNotification</key>
<true/>
<key>KFMBlockOptOut</key>
<true/>
<key>KFMSilentOptInPictures</key>
<true/>
</dict>
</plist>
2 weeks ago
Not sure why the above isn't working correctly. Is there something missing?
2 weeks ago
I'd say maybe break it down to something a little more simple. Some of the settings you have configured conflict/are turned on by default. Try using this:
<?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>
2 weeks ago
That seemed to work. The plist I provided was created using the github custom schema. I'm trying to not allow changing the default folder, so the user can't choose a new folder for onedrive. I added the below, but I'm still able to change the save location.
<key>TenantID</key>
<string>TenantID</string>
<key>DefaultFolderPath</key>
<string>~/OneDrive - Company</string>
</dict>
2 weeks ago
I don't believe you can block where the folder is.