We’re Trying to force OneDrive to sync Desktop and Documents on our Macs using Jamf. machines aren’t domain-joined. They’re already signed into Outlook/Teams with their work accounts.
Here’s what I’m trying to do:
-
Auto sign users into OneDrive
-
Turn on Known Folder Move (KFM) for Desktop/Documents
-
Avoid macOS prompts asking for folder access
What I’ve done so far:
-
PPPC profile – I used the correct code signature from the OneDrive app (verified with
codesign). Gave access to Desktop, Documents, and Downloads. But the profile fails to apply in Jamf with a status of “Failed”. -
Script – I’ve got a script that reads the signed-in email from Office apps and uses the
odopen://URL to trigger OneDrive login. It runs, but OneDrive either doesn’t sign in or doesn’t start syncing unless the user manually clicks through prompts.
Where I'm stuck:
-
PPPC profile won’t install, even though the code signature looks right.
-
Even if OneDrive opens, syncing doesn’t start unless the user allows folder access manually.
-
I want this to be completely silent, no user interaction.
Anyone get this working with Jamf ? Not sure if I’m missing something in the PPPC or the script.
Appreciate any advice. Thanks!
