How To Push a folder to sync into Onedrive via Jamf policy / no touch

Schneabby
New Contributor II

I'm trying to find a way , policy/config profile/etc , to set up a sync with Onedrive on our devices. We've given up basically on having Onedrive auto-logged-in but once they do log in we want specific folders to backup automatically to Onedrive. I'm having a hard time figuring this one out. We can do this on our current PC's via a group policy in Intune but I can't find the equivalent in Jamf.

4 REPLIES 4

Shyamsundar
Contributor

KFMSilentOptIn

Use this setting to redirect and move your users' Documents and/or Desktop folders to OneDrive without any user interaction.

You can move both folders at once or select which folder you want to move. After a folder is moved, this setting won't affect that folder again.

<key>KFMOptInWithWizard</key>
<string>(TenantID)</string>

Refer the below link for more information 

https://learn.microsoft.com/en-us/sharepoint/deploy-and-configure-on-macos#defaultfolderlocation

Sorry if this is too much or stupid but can you like walk me through this process because following the online instructions aren’t getting me anywhere

I've messed with this all weekend, I somehow only got the setup wizard once but after that it didn't go through on any other devices and even then it's not actually syncing. I'm not really sure what it's doing.

sdagley
Esteemed Contributor II

If you're asking to have folders outside the OneDrive folder itself other than Desktop or Documents sync into OneDrive that isn't directly supported on macOS.

In theory you could create a script that would move the folder(s) you want to sync into the OneDrive folder and create a symlink (a true symlink, not an alias) in the original location so the filesystem would re-direct accessing the symlink to the relocated folder.