Skip to main content

Hey everyone, 

It's been awhile since I have done anything in Jamf Pro and honestly I am more of a sccm/intune engineer.  I say that because I recently deployed a registry key on all windows machines to greyout the option to enable or disable syncing on a onedrive.  My leadership has ask me to force all users to enable syncing their documents, pictures and desktop as seen in the picture.  I have successfully deployed this to all windows workstations.  Does anyone know how to do this on macOS? See the example below. 

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


And also https://community.jamf.com/t5/jamf-pro/onedrive-configuration-profile/m-p/325906#M279262


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


And also https://community.jamf.com/t5/jamf-pro/onedrive-configuration-profile/m-p/325906#M279262


thank you



@HighlyFavoredme wrote:

Hey everyone, 

It's been awhile since I have done anything in Jamf Pro and honestly I am more of a sccm/intune engineer.  I say that because I recently deployed a registry key on all windows machines to greyout the option to enable or disable syncing on a onedrive.  My leadership has ask me to force all users to enable syncing their documents, pictures and desktop as seen in the picture.  I have successfully deployed this to all windows workstations.  Does anyone know how to do this on macOS? See the example below. 


You can also follow these steps: 

To force users to enable syncing for OneDrive on macOS and grey out the option, you can utilize a configuration profile in Jamf Pro. Specifically, you'll want to create a profile that includes the appropriate payload for managing OneDrive settings.

  1. Create a Configuration Profile: Go to Jamf Pro and create a new configuration profile for macOS.
  2. Add a Custom Payload: Use the com.microsoft.OneDrive domain to set preferences. You can specify settings to enforce the syncing of Documents, Pictures, and Desktop folders.
  3. Use Terminal Commands: You may also use Terminal commands to adjust the OneDrive preferences directly via a script, then deploy this script through Jamf.


@HighlyFavoredme wrote:

Hey everyone, 


It's been awhile since I have done anything in Jamf Pro and honestly I am more of a sccm/intune engineer.  I say that because I recently deployed a registry key on all windows machines to greyout the option to enable or disable syncing on a onedrive.  My leadership has ask me to force all users to enable syncing their documents, pictures and desktop as seen in the picture.  I have successfully deployed this to all windows workstations.  Does anyone know how to do this on macOS? See the example below. 




You’ll set them via a custom configuration profile in Jamf under the com.microsoft.OneDrive domain. That should mirror the forced sync behavior you deployed on Windows.


NJMCDirect