Skip to content

Commit db44878

Browse files
committed
IP address support in TABL
Added documentation to add support for IP address in Tenant Allow Block List cmdlet
1 parent 392f1c1 commit db44878

4 files changed

+19
-7
lines changed

exchange/exchange-ps/exchange/Get-TenantAllowBlockListItems.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ The ListType parameter specifies the list to view. Valid values are:
7676
- FileHash
7777
- Sender
7878
- Url
79+
- IP
7980

8081
```yaml
8182
Type: ListType
@@ -96,6 +97,7 @@ The Entry parameter filters the results based on the ListType parameter value. V
9697
- FileHash: The exact SHA256 file hash value.
9798
- Sender: The exact domain or email address value.
9899
- Url: The exact URL value.
100+
- IP: There is only support for IPv6 addresses only. You can add single IPv6 address in the form of Colon-Hexadecimal or Zero-compression Notation. CIDR IPv6 is supported (range from 1-128 is supported)
99101
100102
This value is shown in the Value property of the entry in the output of the Get-TenantAllowBlockListItems cmdlet.
101103

exchange/exchange-ps/exchange/New-TenantAllowBlockListItems.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,20 @@ The Entries parameter specifies the values that you want to add to the Tenant Al
8282
- FileHash: Use the SHA256 hash value of the file. In Windows, you can find the SHA256 hash value by running the following command in a Command Prompt: `certutil.exe -hashfile "<Path>\<Filename>" SHA256`. An example value is `768a813668695ef2483b2bde7cf5d1b2db0423a0d3e63e498f3ab6f2eb13ea3`.
8383
- Sender: A domain or email address value. For example, `contoso.com` or `michelle@contoso.com`.
8484
- URL: Use IPv4 or IPv6 addresses or hostnames. Wildcards (* and ~) are supported in hostnames. Protocols, TCP/UDP ports, or user credentials are not supported. For details, see [URL syntax for the Tenant Allow/Block List](https://learn.microsoft.com/defender-office-365/tenant-allow-block-list-urls-configure#url-syntax-for-the-tenant-allowblock-list).
85+
- IP: There is only support for IPv6 addresses only. You can add single IPv6 address in the form of Colon-Hexadecimal or Zero-compression Notation. CIDR IPv6 is supported (range from 1-128 is supported)
8586

8687
To enter multiple values, use the following syntax: `"Value1","Value2",..."ValueN"`.
8788

88-
For senders, files, and URLs the maximum number of allow entries for each type is 500, and the maximum number of block entries for each type is 500 (1000 entries total for each type).
89+
- Entry limits:
90+
- **Exchange Online Protection**: The maximum number of allow entries is 500, and the maximum number of block entries is 500 for each list subtype (sender, URL, file or IP address).
91+
- **Defender for Office 365 Plan 1**: The maximum number of allow entries is 1000, and the maximum number of block entries is 1000 for each list subtype (sender, URL, file or IP address).
92+
- **Defender for Office 365 Plan 2**: The maximum number of allow entries is 5000, and the maximum number of block entries is 10000 for each list subtype (sender, URL, file or IP address).
8993

9094
The maximum number of characters in a file entry is 64 and the maximum number of characters in a URL entry is 250.
9195

92-
You can't mix value types (file, sender, or URL) or allow and block actions in the same command.
96+
You can't mix value types (file, sender, IP address or URL) or allow and block actions in the same command.
9397

94-
In most cases, you can't modify the URL, file, or sender values after you create the entry. The only exception is allow URL entries for phishing simulations (ListType = URL, ListSubType = AdvancedDelivery).
98+
In most cases, you can't modify the IP address, URL, file, or sender values after you create the entry. The only exception is allow URL entries for phishing simulations (ListType = URL, ListSubType = AdvancedDelivery).
9599

96100
```yaml
97101
Type: String[]
@@ -135,6 +139,7 @@ The ListType parameter specifies the type of entry to add. Valid values are:
135139
- FileHash
136140
- Sender
137141
- Url
142+
- IP
138143

139144
```yaml
140145
Type: ListType
@@ -156,6 +161,7 @@ This switch is available to use in the following scenarios:
156161

157162
- With the Block switch.
158163
- With the Allow switch where the ListType parameter value is URL and the ListSubType parameter value is AdvancedDelivery.
164+
- With the Allow switch where the ListType parameter value is IP.
159165

160166
You can't use this switch with the ExpirationDate or RemoveAfter parameter.
161167

exchange/exchange-ps/exchange/Remove-TenantAllowBlockListItems.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ The Entries parameter specifies the entries that you want to remove based on the
6363
- FileHash: The exact SHA256 file hash value.
6464
- Sender domains and email addresses: The exact domain or email address value.
6565
- Url: The exact URL value.
66+
- IP: There is only support for IPv6 addresses only. You can add single IPv6 address in the form of Colon-Hexadecimal or Zero-compression Notation. CIDR IPv6 is supported (range from 1-128 is supported)
6667

6768
This value is shown in the Value property of the entry in the output of the Get-TenantAllowBlockListItems cmdlet.
6869

69-
You can't mix value types (file, sender, or URL) or allow and block actions in the same command.
70+
You can't mix value types (IP address, file, sender, or URL) or allow and block actions in the same command.
7071

7172
You can't use this parameter with the Ids parameter.
7273

@@ -109,6 +110,7 @@ The ListType parameter specifies the type of entry that you want to remove. Vali
109110
- FileHash
110111
- Sender
111112
- Url
113+
- IP
112114

113115
```yaml
114116
Type: ListType

exchange/exchange-ps/exchange/Set-TenantAllowBlockListItems.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Set-TenantAllowBlockListItems -Entries <String[]> -ListType <ListType>
4949
```
5050

5151
## DESCRIPTION
52-
In most cases, you can't modify the URL, file, or sender values of an existing entry. The only exception is allow URL entries for phishing simulations (Action = Allow, ListType = URL, and ListSubType = AdvancedDelivery). For more information about allowing URLs for phishing simulations, see [Configure the advanced delivery policy for third-party phishing simulations and email delivery to SecOps mailboxes](https://learn.microsoft.com/defender-office-365/advanced-delivery-policy-configure).
52+
In most cases, you can't modify the IP address, URL, file, or sender values of an existing entry. The only exception is allow URL entries for phishing simulations (Action = Allow, ListType = URL, and ListSubType = AdvancedDelivery). For more information about allowing URLs for phishing simulations, see [Configure the advanced delivery policy for third-party phishing simulations and email delivery to SecOps mailboxes](https://learn.microsoft.com/defender-office-365/advanced-delivery-policy-configure).
5353

5454
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
5555

@@ -77,10 +77,11 @@ The Entries parameter specifies the entries that you want to modify based on the
7777
- FileHash: The exact SHA256 file hash value.
7878
- Sender domains and email addresses: The exact domain or email address value.
7979
- Url: The exact URL value.
80+
- IP: There is only support for IPv6 addresses only. You can add single IPv6 address in the form of Colon-Hexadecimal or Zero-compression Notation. CIDR IPv6 is supported (range from 1-128 is supported)
8081

8182
This value is shown in the Value property of the entry in the output of the Get-TenantAllowBlockListItems cmdlet.
8283

83-
You can't mix value types (file, sender, or URL) or allow and block actions in the same command.
84+
You can't mix value types (IP address, file, sender, or URL) or allow and block actions in the same command.
8485

8586
You can't use this parameter with the Ids parameter.
8687

@@ -122,6 +123,7 @@ The ListType parameter specifies the type of entry that you want to modify. Vali
122123
- FileHash
123124
- Sender
124125
- Url
126+
- IP
125127

126128
Use the Entries or Ids parameter with this parameter to identify the entry itself.
127129

@@ -141,7 +143,7 @@ Accept wildcard characters: False
141143
### -NoExpiration
142144
The NoExpiration switch specifies that the entry should never expire. You don't need to specify a value with this switch.
143145

144-
This switch is available to use with block entries or with url allow entries where the ListSubType parameter value is AdvancedDelivery.
146+
This switch is available to use with block entries or with url allow entries where the ListSubType parameter value is AdvancedDelivery or with IP address allow entries.
145147

146148
You can't use this switch with the ExpirationDate parameter.
147149

0 commit comments

Comments
 (0)