Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Block geolocation on these sites
Supported versions
- On Windows and macOS since 144 or later
- On Android since 144 or later
Description
Use this policy to define a list of URL patterns for sites that are blocked from accessing the user's geolocation. These sites also can't prompt the user for location permissions.
If you enable this policy, the list you provide determines which sites are blocked from requesting or accessing geolocation.
If you disable or don't configure this policy, DefaultGeolocationSetting applies to all sites, if configured. If it's not configured, the user’s personal browser setting is used.
For detailed information on valid url patterns, see the documentation on pattern formats: https://dori-uw-1.kuma-moon.com/deployedge/edge-learnmmore-url-list-filter%20format.
Supported features
- Can be mandatory: Yes
- Can be recommended: No
- Dynamic Policy Refresh: Yes
- Per Profile: Yes
- Applies to a profile that is signed in with a Microsoft account: No
Data type
- List of strings
Windows information and settings
Group Policy (ADMX) info
- GP unique name: GeolocationBlockedForUrls
- GP name: Block geolocation on these sites
- GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
- GP path (Recommended): N/A
- GP ADMX file name: MSEdge.admx
Example value
https://www.example.com
[*.]example.edu
Registry settings
- Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\GeolocationBlockedForUrls
- Path (Recommended): N/A
- Value name: 1, 2, 3, ...
- Value type: List of REG_SZ
Example registry value
SOFTWARE\Policies\Microsoft\Edge\GeolocationBlockedForUrls\1 =
https://www.example.com
SOFTWARE\Policies\Microsoft\Edge\GeolocationBlockedForUrls\2 =
[*.]example.edu
Mac information and settings
- Preference Key name: GeolocationBlockedForUrls
- Example value:
<array>
<string>https://www.example.com</string>
<string>[*.]example.edu</string>
</array>
Android information and settings
- Preference Key name: GeolocationBlockedForUrls
- Example value:
["https://www.example.com", "[*.]example.edu"]