Posted on 04-11-2024 03:06 PM
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.
Posted on 04-17-2024 04:44 AM
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>
Posted on 04-11-2024 05:23 PM
04-11-2024 05:44 PM - edited 04-11-2024 05:44 PM
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...
Posted on 04-12-2024 08:23 AM
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.
Posted on 04-12-2024 11:17 AM
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>
Posted on 04-16-2024 10:38 AM
Not sure why the above isn't working correctly. Is there something missing?
Posted on 04-17-2024 04:44 AM
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>
Posted on 04-18-2024 06:55 AM
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>
Posted on 04-19-2024 05:14 AM
I don't believe you can block where the folder is.