You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example returns information for all allowed third-party phishing simulation URLs. For more information, see [Configure the delivery of third-party phishing simulations to users and unfiltered messages to SecOps mailboxes](https://docs.microsoft.com/microsoft-365/security/office-365-security/configure-advanced-delivery).
75
+
65
76
## PARAMETERS
66
77
67
78
### -ListType
@@ -118,6 +129,22 @@ Accept pipeline input: False
118
129
Accept wildcard characters: False
119
130
```
120
131
132
+
### -Allow
133
+
The Allow switch filters the results for allow entries. You don't need to specify a value with this switch.
This example adds a URL block entry for contoso.com and all subdomains (for example, contoso.com, www.contoso.com, xyz.abc.contoso.com, and www.contoso.com/b). Because we didn't use the ExpirationDate or NoExpiration parameters, the entry expires after 30 days.
This example adds a URL allow entry for the specified third-party phishing simulation URL. For more information, see [Configure the delivery of third-party phishing simulations to users and unfiltered messages to SecOps mailboxes](https://docs.microsoft.com/microsoft-365/security/office-365-security/configure-advanced-delivery).
78
77
79
-
Required: True
80
-
Position: Named
81
-
Default value: None
82
-
Accept pipeline input: False
83
-
Accept wildcard characters: False
84
-
```
78
+
## PARAMETERS
85
79
86
80
### -Entries
87
81
The Entries parameter specifies the URL or files that you want to add to the Tenant Allow/Block List based on the value of the ListType parameter:
@@ -166,6 +160,58 @@ Accept pipeline input: False
166
160
Accept wildcard characters: False
167
161
```
168
162
163
+
### -Allow
164
+
The Allow switch specifies that this is an allow entry for advanced delivery (third-party phishing simulation URLs). You don't need to specify a value with this switch.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
This example removes the URL allow entry for the specified third-party phishing simulation URL. For more information, see [Configure the delivery of third-party phishing simulations to users and unfiltered messages to SecOps mailboxes](https://docs.microsoft.com/microsoft-365/security/office-365-security/configure-advanced-delivery).
45
62
46
63
## PARAMETERS
47
64
65
+
### -Entries
66
+
The Entries parameter specifies the URL or files that you want to remove from the Tenant Allow/Block List based on the value of the ListType parameter:
67
+
68
+
- URLs: 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://docs.microsoft.com/microsoft-365/security/office-365-security/tenant-allow-block-list#url-syntax-for-the-tenant-allowedblocked-list).
69
+
- Files: 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`.
70
+
71
+
To enter multiple values, use the following syntax: `"Value1","Value2",..."ValueN"`.
72
+
73
+
You can't mix URL and file values or allow and block actions in the same command.
74
+
75
+
You can't use this parameter with the Ids parameter.
The Ids parameter specifies the entry that you want to modify. To find this value, use the Get-TenantAllowBlockListItems cmdlet and the Entry property value (a URL or a file hash).
50
92
51
93
An example value for this parameter is `RgAAAAAI8gSyI_NmQqzeh-HXJBywBwCqfQNJY8hBTbdlKFkv6BcUAAAl_QCZAACqfQNJY8hBTbdlKFkv6BcUAAAl_oSPAAAA0`.
52
94
53
95
You can specify multiple values separated by commas.
54
96
97
+
You can't use this parameter with the Entries parameter.
0 commit comments