Share via


IdleDetectionAllowedForUrls

Allow idle detection on these sites

Supported versions

  • On Windows and macOS since 145 or later
  • On Android since 145 or later

Description

Allows you to specify a list of URL patterns for sites that are allowed to use the Idle Detection API.

If you don't configure this policy, the default behavior applies to all sites. The default behavior is determined by the DefaultIdleDetectionSetting policy, if configured, or by the user’s personal settings otherwise.

Only the origin of the URL is evaluated. Any path specified in a URL pattern is ignored. Wildcards, *, are supported. For detailed information about valid URL pattern formats, see https://go.microsoft.com/fwlink/?linkid=209532.

URL patterns specified in the blocklist take precedence over this allowlist. This allowlist takes precedence over the DefaultIdleDetectionSetting policy.

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: IdleDetectionAllowedForUrls
  • GP name: Allow idle detection 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\IdleDetectionAllowedForUrls
  • Path (Recommended): N/A
  • Value name: 1, 2, 3, ...
  • Value type: List of REG_SZ

Example registry value

SOFTWARE\Policies\Microsoft\Edge\IdleDetectionAllowedForUrls\1 =

https://www.example.com

SOFTWARE\Policies\Microsoft\Edge\IdleDetectionAllowedForUrls\2 =

[*.]example.edu

Mac information and settings

  • Preference Key name: IdleDetectionAllowedForUrls
  • Example value:
<array>
  <string>https://www.example.com</string>
  <string>[*.]example.edu</string>
</array>

Android information and settings

  • Preference Key name: IdleDetectionAllowedForUrls
  • Example value:
["https://www.example.com", "[*.]example.edu"]

See also