Commands › Exchange Online
Add-IPAllowListProvider
This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Add-IPAllowListProvider cmdlet to create IP Allow list providers that are used by the Connection Filtering agent on Edge Transport servers.
Quick start script
# Add-IPAllowListProvider — 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-IPAllowListProvider -Name <String> -LookupDomain <SmtpDomain> | Format-List
# 3. Export for evidence / drift tracking
Add-IPAllowListProvider | Export-Clixml .\IPAllowListProvider-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-IPAllowListProvider [-Name] <String> -LookupDomain <SmtpDomain>
[-AnyMatch <Boolean>]
[-BitmaskMatch <IPAddress>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IPAddressesMatch <MultiValuedProperty>]
[-Priority <Int32>]
[-WhatIf]
[<CommonParameters>]
Parameters (10)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.