1
0
mirror of https://github.com/TommyTran732/Microsoft-Edge-Policies synced 2024-06-28 13:56:08 -04:00
Enterprise Policies for Microsoft Edge
Go to file
Tommy ec6c828ab2
Update macOS policies
Signed-off-by: Tommy <contact@tommytran.io>
2023-11-19 03:26:22 -07:00
Linux Remove invalid policy 2023-11-19 03:24:43 -07:00
macOS Update macOS policies 2023-11-19 03:26:22 -07:00
LICENSE Update LICENSE 2023-10-23 01:04:07 -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.