Configure Outlook object model prompt when reading address information
Explanation
This policy setting controls what happens when an untrusted program attempts to gain access to a recipient field, such as the ''To:'' field, using the Outlook object model. This includes COM add-ins, from 3rd parties and Microsoft, one example is Azure Information Protection which can access the Address Book programmatically.
If you enable this policy setting, you can choose from four different options when an untrusted program attempts to access a recipient field using the Outlook object model:
- Prompt user. The user will be prompted to approve every access attempt.
- Automatically approve. Outlook will automatically grant programmatic access requests from any program. This option can create a significant vulnerability, and is not recommended.
- Automatically deny. Outlook will automatically deny programmatic access requests from any program.
- Prompt user based on computer security. Outlook will only prompt users when antivirus software is out of date or not running. This is the default configuration.
If you disable or do not configure this policy setting, when an untrusted application attempts to access recipient fields, Outlook relies on the setting configured in the ''Programmatic Access'' section of the Trust Center.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security- 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.
Enable
# Enable: outlk16/L_OOMAddressAccess
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Guard behavior
# Possible options:
# Prompt User = 1
# Automatically Approve = 2
# Automatically Deny = 0
# Prompt user based on computer security = 3
Set-ItemProperty -Path $k -Name 'promptoomaddressinformationaccess' -Value 3 -Type DWordDisable
# Disable: outlk16/L_OOMAddressAccess
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_OOMAddressAccess
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\security'
Remove-ItemProperty -Path $k -Name 'promptoomaddressinformationaccess' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Guard behavior:L_OOMAddressAccess_Setting | Drop-down listenum | promptoomaddressinformationaccess | REG_DWORD | Default choice (UI): #3
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.