This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
This policy enables rule-based proxy selection that determines which proxy Microsoft Edge uses based on the destination URL and any other conditions you define.
When this policy is configured, it takes precedence over proxy settings configured by the ProxySettings policy, the Edge.proxy extension API, and any manual user settings.
If this policy is disabled or not configured, existing proxy policies and user-defined settings continue to apply.
When Edge selects a proxy, it evaluates entries in the ProxyOverrideRules policy in order. A rule is considered a match when all the following conditions are met:
For a matching rule, the value specified in ProxyList is used as the proxy. If no rule matches, proxy selection falls back to the settings defined by the ProxySettings policy.
The URL patterns supported by DestinationMatchers and ExcludeDestinationMatchers are documented atProxy Support in Microsoft Edge.Entries in ProxyList correspond to PAC-style proxy strings, such as:
Alternatively, URL-form proxy specifiers can be used, for example:
The first reachable proxy in the list is used. Invalid entries are ignored.
The Conditions field specifies conditions that must all be met for an override rule to be applied when selecting a proxy. If this field is not set, the rule is applied when at least one host in DestinationMatchers matches.
The DnsProbe condition checks whether the specified DNS Host can be resolved to an IP address. The host must include a hostname (for example, example.com) and can optionally include a scheme or port (for example,https://example.com, example.com:123, orhttps://example.com:123). When a secure scheme (for example, https) is specified, the DNS lookup may also request the HTTPS record (see RFC 9460).
If Result is set to resolved, the condition is met when resolution succeeds. If set to not_found, the condition is met only when resolution fails.
[{"Conditions": [{"DnsProbe": {"Host": "corp.ads", "Result": "resolved"}}], "DestinationMatchers": ["https://some.app.com", "https://other.app.org"], "ProxyList": ["HTTPS proxy.app:443", "DIRECT"]}, {"DestinationMatchers": ["https://Contoso.com"], "ExcludeDestinationMatchers": ["https://mail.Contoso.com"], "ProxyList": ["HTTPS proxy.app:443", "DIRECT"]}][{"Conditions": [{"DnsProbe": {"Host": "corp.ads", "Result": "resolved"}}], "DestinationMatchers": ["https://some.app.com", "https://other.app.org"], "ProxyList": ["HTTPS proxy.app:443", "DIRECT"]}, {"DestinationMatchers": ["https://Contoso.com"], "ExcludeDestinationMatchers": ["https://mail.Contoso.com"], "ProxyList": ["HTTPS proxy.app:443", "DIRECT"]}][ { "Conditions": [ { "DnsProbe": { "Host": "corp.ads", "Result": "resolved" } } ], "DestinationMatchers": [ "https://some.app.com", "https://other.app.org" ], "ProxyList": [ "HTTPS proxy.app:443", "DIRECT" ] }, { "DestinationMatchers": [ "https://Contoso.com" ], "ExcludeDestinationMatchers": [ "https://mail.Contoso.com" ], "ProxyList": [ "HTTPS proxy.app:443", "DIRECT" ] }]<key>ProxyOverrideRules</key><array> <dict> <key>Conditions</key> <array> <dict> <key>DnsProbe</key> <dict> <key>Host</key> <string>corp.ads</string> <key>Result</key> <string>resolved</string> </dict> </dict> </array> <key>DestinationMatchers</key> <array> <string>https://some.app.com</string> <string>https://other.app.org</string> </array> <key>ProxyList</key> <array> <string>HTTPS proxy.app:443</string> <string>DIRECT</string> </array> </dict> <dict> <key>DestinationMatchers</key> <array> <string>https://Contoso.com</string> </array> <key>ExcludeDestinationMatchers</key> <array> <string>https://mail.Contoso.com</string> </array> <key>ProxyList</key> <array> <string>HTTPS proxy.app:443</string> <string>DIRECT</string> </array> </dict></array>Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?