en-US

IPBlockList

Parameter of HostedConnectionFilterPolicy

Applies to : Exchange Online, Built-in security add-on for on-premises mailboxes

Description

The IPBlockList parameter specifies IP addresses from which messages are never allowed. Messages from the IP addresses you specify are blocked without any further spam scanning. Valid values are:

  • Single IP address: For example, 192.168.1.1.
  • IP address range: You can use an IP address range, for example, 192.168.0.1-192.168.0.254. The maximum number of addresses in the range is 256.
  • Classless InterDomain Routing (CIDR) IP address range: For example, 192.168.0.1/25. Valid subnet mask values are /24 through /32.

You can specify multiple IP addresses of the same type separated by commas. For example, SingleIP1, SingleIP2,...SingleIPN or CIDRIP1,CIDRIP2,...CIDRIPN. To specify multiple IP addresses of different types at the same time, you need to use the following multivalued property syntax: @{Add="SingleIP1","IPRange1","CIDRIP1",...}.

Note: IPv6 ranges are not supported.

Microsoft Learn documentation

Characteristics

Type
MultiValuedProperty
Parameter sets
(All)

Apply

This value type (MultiValuedProperty) must be built by hand: see the examples on the policy page and the Microsoft documentation.