1
0
mirror of https://github.com/TommyTran732/Microsoft-Edge-Policies synced 2024-11-21 18:01:34 -05:00
Enterprise Policies for Microsoft Edge
Go to file
Tommy e4635248fe
ExperimentationAndConfigurationServiceControl
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-28 05:24:39 -07:00
Linux ExperimentationAndConfigurationServiceControl 2023-11-28 05:24:39 -07:00
macOS ExperimentationAndConfigurationServiceControl 2023-11-28 05:24:39 -07:00
LICENSE Update LICENSE 2023-11-19 13:06:47 -07:00
README.md Add macOS 2023-11-19 03:19:06 -07:00

Microsoft Edge Policies

Linux

The mandatory prolicies should be put in /etc/opt/edge/policies/managed/managed.json, and the recommended policies should be put in /etc/opt/edge/policies/recommended/recommended.json

macOS

The mandatory prolicies should be put in /Library/Managed Preferences/com.microsoft.Edge.plist, and the recommended policies should be put in /Library/Preferences/com.microsoft.Edge.plist

macOS is problematic, as it will wipe /Library/Managed Preferences every boot if you are not using an MDM. I work around this by putting the policies in /Library/Tomster Corporation, and use a cronjob as root to copy it every boot:

@reboot sleep 5 && cp -r '/Library/Tomster Corporation/' '/Library/Managed Preferences'

I have also noticed that Microsoft Edge does not seem to reload Managed Preferences probably until the computer reboots. I am not sure if this is a macOS behavior or if it is caused because my machine is not enrolled in an MDM.

Alternatively, you can try to convert the .plist files to .mobileconfig files and install them as profiles.