Skip to content

Commit 6b63cbd

Browse files
committed
Extend doc
1 parent 3b921fc commit 6b63cbd

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

skype/skype-ps/skype/Set-CsTenantFederationConfiguration.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,18 @@ The command shown in Example 9 enables communication with people using Teams wit
153153

154154
### -------------------------- Example 10 -------------------------
155155
```
156+
$list = New-Object Collections.Generic.List[String]
157+
$list.add("contoso.com")
158+
$list.add("fabrikam.com")
159+
Set-CsTenantFederationConfiguration -BlockedDomains $list
160+
156161
Set-CsTenantFederationConfiguration -BlockAllSubdomains $True
157162
```
158163

159-
Example 10 shows how you can empower BlockedDomains to also block all subdomains.
160-
Let's say you block contoso.com. Then all users from subdomain.contoso.com will also be blocked.
161-
Note: Users from subcontoso.com will not be blocked because it's a completely different domain rather than a subdomain.
164+
Example 10 shows how you can block all subdomains of domains in BlockedDomains list.
165+
In this example, contoso.com is on the BlockDomains list which blocks all users from contoso.com and fabrikam.com.
166+
When the BlockAllSubdomains is enabled, all users from subdomain.contoso.com and subdomain.fabrikam.com will also be blocked.
167+
Note: Users from subcontoso.com will not be blocked because it's a completely different domain rather than a subdomain of contoso.com.
162168

163169
## PARAMETERS
164170

0 commit comments

Comments
 (0)