Skip to main content
Solved

OneDrive Greyed out for all macOS machines

  • September 30, 2024
  • 4 replies
  • 59 views

Forum|alt.badge.img+5

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. 

Best answer by HighlyFavoredme

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

4 replies

wakco11
Forum|alt.badge.img+9
  • Valued Contributor
  • September 30, 2024

Forum|alt.badge.img+5
  • Author
  • New Contributor
  • Answer
  • September 30, 2024

Forum|alt.badge.img+1
  • New Contributor
  • October 1, 2024

@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.

Forum|alt.badge.img
  • New Contributor
  • April 17, 2025

@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