Add a domain to the blocked domains list in Skype for Business Online

Lync Server 2013

Topic Last Modified: 2014-07-01

To add a domain to the blocked domains list, use syntax similar to this:

$x = New-CsEdgeDomainPattern ""
Set-CsTenantFederationConfiguration -BlockedDomains @{Add=$x}

As you can see, this command requires two steps. First, you use the New-CsEdgeDomainPattern to create a domain object representing the domain to be added to the blocked list. After that, you use the Set-CsTenantFederationConfiguration cmdlet and the Add method to add that domain (in this example, the domain stored in the variable $x) to the list.