Skip to content

Commit 0f35c4a

Browse files
authored
Update Set-CsTenantFederationConfiguration.md
Ordering of examples and parameter sections changed.
1 parent 3c59637 commit 0f35c4a

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

teams/teams-ps/teams/Set-CsTenantFederationConfiguration.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,7 @@ Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants "Allowed"
176176

177177
Example 11 shows how you can allow users to communicate with users in tenants that contain only trial licenses (default value is Blocked).
178178

179-
### -------------------------- Example 12 -------------------------
180-
```
181-
Set-CsTenantFederationConfiguration -CustomizeFederation $True
182-
```
183-
184-
Example 12 shows how you can enable the feature where you can customize your federation in ExternalAccessPolicy.
185-
186-
### -------------------------- Example 13 --------------------------
179+
### -------------------------- Example 12 --------------------------
187180
```
188181
$list = New-Object Collections.Generic.List[String]
189182
$list.add("contoso.com")
@@ -192,34 +185,41 @@ $list.add("fabrikam.com")
192185
Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains $list
193186
```
194187

195-
Example 13 shows how you can set or replace domains in the Allowed Trial Tenant Domains using a List collection object.
188+
Example 12 shows how you can set or replace domains in the Allowed Trial Tenant Domains using a List collection object.
196189
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.
197190
When this command completes, the Allowed Trial Tenant Domains list will be replaced with those domains.
198191

199-
### -------------------------- Example 14 --------------------------
192+
### -------------------------- Example 13 --------------------------
200193
```
201194
$list = New-Object Collections.Generic.List[String]
202195
$list.add("contoso.com")
203196
204197
Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Add=$list}
205198
```
206199

207-
Example 14 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object.
200+
Example 13 shows how you can add domains to the existing Allowed Trial Tenant Domains using a List collection object.
208201
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.
209202
When this command completes, the domains in the list will be added to any domains already on the Allowed Trial Tenant Domains list.
210203

211-
### -------------------------- Example 15 --------------------------
204+
### -------------------------- Example 14 --------------------------
212205
```
213206
$list = New-Object Collections.Generic.List[String]
214207
$list.add("contoso.com")
215208
216209
Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Remove=$list}
217210
```
218211

219-
Example 15 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object.
212+
Example 14 shows how you can remove domains from the existing Allowed Trial Tenant Domains using a List collection object.
220213
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.
221214
When this command completes, the domains in the list will be removed from the Allowed Trial Tenant Domains list.
222215

216+
### -------------------------- Example 15 -------------------------
217+
```
218+
Set-CsTenantFederationConfiguration -CustomizeFederation $True
219+
```
220+
221+
Example 15 shows how you can enable the feature where you can customize your federation in ExternalAccessPolicy.
222+
223223
## PARAMETERS
224224

225225
### -AllowedDomains
@@ -512,14 +512,15 @@ Accept pipeline input: False
512512
Accept wildcard characters: False
513513
```
514514

515-
### -RestrictTeamsConsumerToExternalUserProfiles
516-
Defines if a user is restriced to collaboration with Teams Consumer (TFL) user only in Extended Directory.
517-
Possible values: True, False
515+
### -AllowedTrialTenantDomains
516+
You can provide list of trial tenant domains which are excluded from blocking when `ExternalAccessWithTrialTenants` is set to `Blocked`.
517+
This allows you to have trial tenant block enabled but still selectively allow communication with some trial tenants.
518518

519519
```yaml
520-
Type: Boolean
520+
Type: List
521521
Parameter Sets: (All)
522-
Aliases:
522+
Aliases:
523+
applicable: Microsoft Teams
523524
524525
Required: False
525526
Position: Named
@@ -528,8 +529,8 @@ Accept pipeline input: False
528529
Accept wildcard characters: False
529530
```
530531

531-
### -CustomizeFederation
532-
Defines if we enable more customized federation settings in ExternalAccessPolicy or not. For example, when this is true, if the `AllowedDomains` includes [a.com, b.com], but the `AllowedExternalDomains` of the ExternalAccessPolicy includes [c.com], then users assigned by the ExternalAccessPolicy will only be allowed to access c.com, all other users will have access to a.com and b.com as defined in `AllowedDomains`.
532+
### -RestrictTeamsConsumerToExternalUserProfiles
533+
Defines if a user is restriced to collaboration with Teams Consumer (TFL) user only in Extended Directory.
533534
Possible values: True, False
534535

535536
```yaml
@@ -539,24 +540,23 @@ Aliases:
539540
540541
Required: False
541542
Position: Named
542-
Default value: False
543+
Default value: None
543544
Accept pipeline input: False
544545
Accept wildcard characters: False
545546
```
546547

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.
548+
### -CustomizeFederation
549+
Defines if we enable more customized federation settings in ExternalAccessPolicy or not. For example, when this is true, if the `AllowedDomains` includes [a.com, b.com], but the `AllowedExternalDomains` of the ExternalAccessPolicy includes [c.com], then users assigned by the ExternalAccessPolicy will only be allowed to access c.com, all other users will have access to a.com and b.com as defined in `AllowedDomains`.
550+
Possible values: True, False
550551

551552
```yaml
552-
Type: List
553+
Type: Boolean
553554
Parameter Sets: (All)
554-
Aliases:
555-
applicable: Microsoft Teams
555+
Aliases:
556556
557557
Required: False
558558
Position: Named
559-
Default value: None
559+
Default value: False
560560
Accept pipeline input: False
561561
Accept wildcard characters: False
562562
```

0 commit comments

Comments
 (0)