Force sync Desktop and folders to Onedrive

aritta
New Contributor II

Any suggestions welcomed. How can I force sync the Desktop to OneDrive with Jamf Pro?

 

2 REPLIES 2

McAwesome
Contributor III

Known Folder Move is currently being slowly rolled out to OneDrive's main branch, so it may or may not be available to your users on a device by device basis. 

https://techcommunity.microsoft.com/t5/microsoft-onedrive-blog/announcements-for-files-experiences-i... 

That said, it is something that can be configured using a couple configuration settings described in Microsoft's documentation.
https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos 

If you, like me, are not a fan of hand crafting a plist file, there is also this Custom Settings Json available to streamline setting these things up via Jamf.
https://github.com/Jamf-Custom-Profile-Schemas/ProfileManifestsMirror/blob/main/manifests/ManagedPre... 

czarmark
New Contributor II

I've been testing this via plist file using the carrot method rather than the stick (forced). In the process, I learned that OneDrive from the App Store has bundle ID com.microsoft.OneDrive-mac whereas OneDrive from the 2GB Office Suite installer has bundle ID com.microsoft.OneDrive.

In addition, I created two separate configuration profiles for both bundle IDs to grant OneDrive full disk access and remove that friction for the user.

Here's the plist I've been testing. The parts that say REDACTED are for your Azure Tenant ID.

 

<?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>AllowTenantList</key>
    <string>REDACTED</string>
    <key>BlockExternalSync</key>
    <true/>
    <key>DisablePersonalSync</key>
    <true/>
    <key>DisableTutorial</key>
    <true/>
    <key>KFMOptInWithWizard</key>
    <string>REDACTED</string>
    <key>FilesOnDemandEnabled</key>
    <true/>
    <key>OpenAtLogin</key>
    <true/>
    <key>EnableSyncAdminReports</key>
    <true/>
</dict>
</plist>