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?



Valued Contributor

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 III

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">


New Contributor

What about "Full Disk Access" for onedrive, and reccomendations on enabling this?

New Contributor III

I used PPPC Utility to create a configuration profile for Jamf. It grants ("Allow") Full Disk Access for OneDrive. I left the other Properties blank/not defined.

New Contributor

I'm curious if anyone's getting KFMSilentOptIn to work? No luck over here so far...

fwiw - KFMOptInWithWizard seems to work fine

I have also not been able to get this to work... KFMSilentOptIn will not auto-backup Desktop and Document folders consistently on new or existing devices. 

This post here from MS states to use KFMSilentOptIn with KFMOptInWithWizard in case  auto backups aren't being enabled.

I also have KFMBlockOptOut but I was just able to manually stop backups on an existing device.

I'm gonna have to shrug my shoulder on this one... not sure why it's not working