Topic Last Modified: 2013-08-13
Two steps are required to remove a domain from the blocked domains list. First, you must use the New-CsEdgeDomainPattern cmdlet to create a domain object for the domain to be removed:
Copy Code | |
---|---|
$x = New-CsEdgeDomainPattern "fabrikam.com" |
After creating this object, use the following syntax to remove the domain (in this example, the domain stored in the variable $x) from the blocked domains list:
Copy Code | |
---|---|
Set-CsTenantFederationConfiguration -BlockedDomains @{Remove=$x} |
To remove all the domains from the blocked domains list, set the value of the BlockedDomains property to null ($Null):
Copy Code | |
---|---|
Set-CsTenantFederationConfiguration -BlockedDomains $Null |