Open in the explorer

Configuration policy for files attached for Microsoft Edge for Business Data Loss Prevention Connectors

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge User Configuration › Policies › Administrative Templates › Microsoft Edge
Supported on
Microsoft Edge version 137, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/OnFileAttachedEnterpriseConnector

Explanation

Specifies the list of Microsoft Edge for Business Data Loss Prevention Connectors service settings that apply when users attach files in Microsoft Edge.

Connector Fields

1. url_list,
tags,
enable,
disable
These fields determine whether the connector sends data for analysis when content is entered on a specific page, and which tags to include in the analysis request.
A tag associated with an enable pattern is included in the request if the page URL matches the pattern—unless a corresponding disable pattern also matches.
Analysis is triggered if at least one tag is included in the request.

2. service_provider
Identifies the analysis service provider the configuration applies to.

3. block_until_verdict
If set to 1, Microsoft Edge waits for a response from the analysis service before giving the page access to the data.
Any other integer value allows the page to access the data immediately.

4. default_action
If set to block, Microsoft Edge denies page access to the data if an error occurs while contacting the analysis service.
Any other value permits the page to access the data.

5. require_justification_tags
Lists the analysis tags whose bypassable warnings require the user to enter a justification before proceeding.
If omitted, no justification is required.

This policy requires additional setup to take effect. For configuration guidance, see https://go.microsoft.com/fwlink/?linkid=2320413.

Example value:

[
{
"block_until_verdict": 0,
"default_action": "allow",
"disable": [
{
"tags": [
"malware"
],
"url_list": [
"*.us.com"
]
}
],
"enable": [
{
"tags": [
"malware"
],
"url_list": [
"*"
]
},
{
"tags": [
"dlp"
],
"url_list": [
"*.them.com",
"*.others.com"
]
}
],
"service_provider": "local_system_agent"
}
]

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: msedge/OnFileAttachedEnterpriseConnector
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configuration policy for files attached for Microsoft Edge for Business Data Loss Prevention Connectors
Set-ItemProperty -Path $k -Name 'OnFileAttachedEnterpriseConnector' -Value '<value>' -Type String

Disable

# Disable: msedge/OnFileAttachedEnterpriseConnector
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/OnFileAttachedEnterpriseConnector
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'OnFileAttachedEnterpriseConnector' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Configuration policy for files attached for Microsoft Edge for Business Data Loss Prevention ConnectorsOnFileAttachedEnterpriseConnectorText boxtextOnFileAttachedEnterpriseConnectorREG_SZ
Max length: 1000000

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.