### ExtensionSettings plist example for macOS
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/extensionsettings
Example plist value for the ExtensionSettings preference key on macOS. It shows how to set installation modes (blocked, allowed, force_installed, removed), permissions, install sources, runtime host restrictions, and update URLs for specific extension IDs and wildcard patterns.
```xml
ExtensionSettings
*
allowed_types
hosted_app
blocked_install_message
Custom error message.
blocked_permissions
downloads
bookmarks
install_sources
https://company-intranet/apps
installation_mode
blocked
runtime_allowed_hosts
*://good.contoso.com
runtime_blocked_hosts
*://*.contoso.com
abcdefghijklmnopabcdefghijklmnop
blocked_permissions
history
file_url_navigation_allowed
installation_mode
allowed
minimum_version_required
1.0.1
bcdefghijklmnopabcdefghijklmnopa
allowed_permissions
downloads
installation_mode
force_installed
override_update_url
runtime_allowed_hosts
*://good.contoso.com
runtime_blocked_hosts
*://*.contoso.com
sidebar_auto_open_blocked
toolbar_state
force_shown
update_url
https://contoso.com/update_url
cdefghijklmnopabcdefghijklmnopab
blocked_install_message
Custom error message.
installation_mode
blocked
defghijklmnopabcdefghijklmnopabc,efghijklmnopabcdefghijklmnopabcd
blocked_install_message
Custom error message.
installation_mode
blocked
fghijklmnopabcdefghijklmnopabcde
blocked_install_message
Custom removal message.
installation_mode
removed
update_url:https://www.contoso.com/update.xml
allowed_permissions
downloads
blocked_permissions
wallpaper
installation_mode
allowed
```
--------------------------------
### Example value for WebAppInstallForceList
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/webappinstallforcelist
JSON array specifying force-installed web apps with options like create_desktop_shortcut, default_launch_container, fallback_app_name, custom_name, install_as_shortcut, and custom_icon.
```json
[{"create_desktop_shortcut": true, "default_launch_container": "window", "url": "https://www.contoso.com/maps"}, {"default_launch_container": "tab", "url": "https://app.contoso.edu"}, {"default_launch_container": "window", "fallback_app_name": "Editor", "url": "https://app.contoso.edu/editor"}, {"custom_name": "Spreadsheets", "default_launch_container": "window", "install_as_shortcut": true, "url": "https://app.contoso.edu/sheets"}, {"custom_icon": {"hash": "c28f469c450e9ab2b86ea47038d2b324c6ad3b1e9a4bd8960da13214afd0ca38", "url": "https://mydomain.example.com/sunny_icon.png"}, "url": "https://weather.example.com"}]
```
--------------------------------
### WebAppInstallForceList Mac plist example
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/webappinstallforcelist
Example value for the WebAppInstallForceList preference key on Mac. It shows an array of dictionaries, each defining a web app to force-install with optional keys like create_desktop_shortcut, default_launch_container, fallback_app_name, custom_name, install_as_shortcut, and custom_icon.
```xml
WebAppInstallForceList
create_desktop_shortcut
default_launch_container
window
url
https://www.contoso.com/maps
default_launch_container
tab
url
https://app.contoso.edu
default_launch_container
window
fallback_app_name
Editor
url
https://app.contoso.edu/editor
custom_name
Spreadsheets
default_launch_container
window
install_as_shortcut
url
https://app.contoso.edu/sheets
custom_icon
hash
c28f469c450e9ab2b86ea47038d2b324c6ad3b1e9a4bd8960da13214afd0ca38
url
https://mydomain.example.com/sunny_icon.png
url
https://weather.example.com
```
--------------------------------
### Windows Group Policy example value
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/relaunchwindow
Example value for the RelaunchWindow policy in Group Policy (ADMX). The value is a JSON dictionary with an entries array containing a duration in minutes and a start time.
```json
{"entries": [{"duration_mins": 240, "start": {"hour": 2, "minute": 15}}]}
```
--------------------------------
### Example value (XML) for AutoLaunchProtocolsFromOrigins on macOS
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/autolaunchprotocolsfromorigins
Example value for the AutoLaunchProtocolsFromOrigins policy on macOS, using the preference key and XML plist format.
```xml
AutoLaunchProtocolsFromOrigins
allowed_origins
example.com
http://www.example.com:8080
protocol
spotify
allowed_origins
https://example.com
https://.mail.example.com
protocol
msteams
allowed_origins
*
protocol
msoutlook
```
--------------------------------
### ExtensionSettings policy example value
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/extensionsettings
Example JSON dictionary for the ExtensionSettings policy. It configures extension management rules for specific extension IDs and update URLs, including installation modes, allowed/blocked permissions, runtime hosts, and custom messages. Use this as a template for setting the policy via Group Policy or other management tools.
```json
{"*": {"allowed_types": ["hosted_app"], "blocked_install_message": "Custom error message.", "blocked_permissions": ["downloads", "bookmarks"], "install_sources": ["https://company-intranet/apps"], "installation_mode": "blocked", "runtime_allowed_hosts": ["*://good.contoso.com"], "runtime_blocked_hosts": ["*://*.contoso.com"]}, "abcdefghijklmnopabcdefghijklmnop": {"blocked_permissions": ["history"], "file_url_navigation_allowed": true, "installation_mode": "allowed", "minimum_version_required": "1.0.1"}, "bcdefghijklmnopabcdefghijklmnopa": {"allowed_permissions": ["downloads"], "installation_mode": "force_installed", "override_update_url": true, "runtime_allowed_hosts": ["*://good.contoso.com"], "runtime_blocked_hosts": ["*://*.contoso.com"], "sidebar_auto_open_blocked": true, "toolbar_state": "force_shown", "update_url": "https://contoso.com/update_url"}, "cdefghijklmnopabcdefghijklmnopab": {"blocked_install_message": "Custom error message.", "installation_mode": "blocked"}, "defghijklmnopabcdefghijklmnopabc,efghijklmnopabcdefghijklmnopabcd": {"blocked_install_message": "Custom error message.", "installation_mode": "blocked"}, "fghijklmnopabcdefghijklmnopabcde": {"blocked_install_message": "Custom removal message.", "installation_mode": "removed"}, "update_url:https://www.contoso.com/update.xml": {"allowed_permissions": ["downloads"], "blocked_permissions": ["wallpaper"], "installation_mode": "allowed"}}
```
--------------------------------
### Mac Preference Key Example Value (XML)
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/filesystemwriteaskforurls
Example XML array for the FileSystemWriteAskForUrls preference key, listing URL patterns for allowed sites.
```xml
https://www.example.com
[*.]example.edu
```
--------------------------------
### Expanded example registry value for ExemptFileTypeDownloadWarnings
Source: https://learn.microsoft.com/en-us/deployedge/microsoft-edge-policies/exemptfiletypedownloadwarnings
Expanded, multi-line JSON example for the registry value, showing the same configuration as the compact example but formatted for readability.
```json
[
{
"domains": [
"https://contoso.com",
"contoso2.com"
],
"file_extension": "jnlp"
},
{
"domains": [
"*"
],
"file_extension": "swf"
}
]
```