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
Example 13 shows how you can set or replace domains in the Allowed Trial Tenant Domains using a List collection object.
196
+
First, a List collection is created and domains are added to it, then, simply include the `AllowedTrialTenantDomains` parameter and set the parameter value to the List object.
197
+
When this command completes, the Allowed Trial Tenant Domains list will be replaced with those domains.
198
+
199
+
### -------------------------- Example 14 --------------------------
Example 14 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object.
208
+
First, a List is created and domains are added to it, then, use the Add method in the `AllowedTrialTenantDomains` parameter to add the domains to the existing allowed domains list.
209
+
When this command completes, the domains in the list will be added to any domains already on the Allowed Trial Tenant Domains list.
210
+
211
+
### -------------------------- Example 15 --------------------------
Example 15 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object.
220
+
First, a List is created and domains are added to it, then use the Remove method in the `AllowedTrialTenantDomains` parameter to remove the domains from the existing allowed domains list.
221
+
When this command completes, the domains in the list will be removed from the Allowed Trial Tenant Domains list.
185
222
186
223
## PARAMETERS
187
224
@@ -507,6 +544,23 @@ Accept pipeline input: False
507
544
Accept wildcard characters: False
508
545
```
509
546
547
+
### -AllowedTrialTenantDomains
548
+
You can provide list of trial tenant domains which are excluded from blocking when `ExternalAccessWithTrialTenants` is set to `Blocked`.
549
+
This allows you to have trial tenant block enabled but still selectively allow communication with some trial tenants.
550
+
551
+
```yaml
552
+
Type: List
553
+
Parameter Sets: (All)
554
+
Aliases:
555
+
applicable: Microsoft Teams
556
+
557
+
Required: False
558
+
Position: Named
559
+
Default value: None
560
+
Accept pipeline input: False
561
+
Accept wildcard characters: False
562
+
```
563
+
510
564
### -WhatIf
511
565
Describes what would happen if you executed the command without actually executing the command.
0 commit comments