Don’t show redirect warnings for Autodiscover for the specified HTTPS server names
Explanation
This policy setting allows you to specify HTTPS server names for which Autodiscover won’t show a warning message when redirecting from HTTP to HTTPS.
By default, when an Autodiscover operation redirects from HTTP to HTTPS, you may be shown a warning message about the redirection.
If you enable this policy setting, you need to specify HTTPS server names, and for those server names, you won’t be shown a warning message. For example, if you enter contoso.com, you won’t be shown a warning message when Autodiscover redirects to https://contoso.com.
If you disable or don’t configure this policy setting, you may be shown a warning message when an Autodiscover operation redirects from HTTP to HTTPS.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers- Value name
- not defined in the ADMX
| State | Value written | ||||||
|---|---|---|---|---|---|---|---|
| Enabled |
| ||||||
| Disabled |
|
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.
Enable
# Enable: outlk16/L_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'policyon' -Value 1 -Type DWord
# HTTPS server names
# Non-additive list: when enabled, the GPO first clears the previous values of this list
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: outlk16/L_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
Remove-ItemProperty -Path $k -Name 'policyon' -ErrorAction SilentlyContinueRevert to "Not configured"
# Revert to "Not configured": outlk16/L_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
Remove-ItemProperty -Path $k -Name 'policyon' -ErrorAction SilentlyContinue
# names to adapt
# Remove-ItemProperty -Path $k -Name '<name1>' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| HTTPS server names:L_AutoDiscoverRedirectServersList | List (table)list | policy keyNumbered values (1, 2, 3…) | REG_SZ (values under the key) |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.