Commands › Exchange Online

Set-ExternalInOutlook

Exchange Online ExchangeOnlineManagement Set-*

Modify the configuration of external sender identification that's available in Outlook, Outlook for Mac, Outlook on the web, and Outlook for iOS and Android.

Quick start script

# Set-ExternalInOutlook — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-ExternalInOutlook
$before | Format-List

# 3. Make the change
Set-ExternalInOutlook

# 4. Verify and diff
$after = Get-ExternalInOutlook
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-ExternalInOutlook [[-Identity] <OrganizationIdParameter>]
 [-AllowList <MultiValuedProperty>]
 [-Enabled <System.Boolean>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity OrganizationIdParameter The Identity parameter specifies the GUID of the external sender identification object that you want to modify.
-AllowList MultiValuedProperty The AllowList parameter specifies exceptions to external sender identification in supported versions of Outlook. Messages received from the specified senders or senders in the specified domains don't receive native...
-Enabled Boolean The Enabled parameter enables or disables external sender identification in supported versions of Outlook. Valid values are:

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.