Commands › Exchange Online
Add-IPAllowListEntry
This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Add-IPAllowListEntry cmdlet to add IP Allow list entries to the IP Allow list that's used by the Connection Filtering agent on Edge Transport servers.
Quick start script
# Add-IPAllowListEntry — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Add-IPAllowListEntry -IPAddress <IPAddress> -IPRange <IPRange> | Format-List
# 3. Export for evidence / drift tracking
Add-IPAllowListEntry | Export-Clixml .\IPAllowListEntry-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
IPAddress
Add-IPAllowListEntry -IPAddress <IPAddress>
[-Comment <String>]
[-Confirm]
[-ExpirationTime <DateTime>]
[-Server <ServerIdParameter>]
[-WhatIf]
[<CommonParameters>]
IPRange
Add-IPAllowListEntry -IPRange <IPRange>
[-Comment <String>]
[-Confirm]
[-ExpirationTime <DateTime>]
[-Server <ServerIdParameter>]
[-WhatIf]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.