Force sync Desktop and folders to Onedrive

New Contributor II

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



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. 

That said, it is something that can be configured using a couple configuration settings described in Microsoft's documentation. 

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. 

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 whereas OneDrive from the 2GB Office Suite installer has bundle ID

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" "">
<plist version="1.0">