Export (0) Print
Expand All

Remove a domain from the allowed domains list in Lync Online

Lync Server 2013
 

Topic Last Modified: 2013-08-13

Removing a domain from the allowed domains list involves a series of steps. First, you must use a command similar to the following, in order to retrieve a collection of all the domains currently on the list:

$x = (Get-CsTenantFederationConfiguration).AllowedDomains

Next, run this command to review those domains:

$x

Take note of the numeric position of the domain to be removed. If the domain is the first domain in the list, then it has an index value of 0. If the domain is the second domain in the list, it has an index value of 1, and so on.

After you know the index number, use a command like the following to remove the specified domain, making sure to use the correct index number. This command removes the first domain in the list (index number 0):

$x.AllowedDomain.RemoveAt(0)

Finally, call the Set-CsTenantFederationConfiguration cmdlet to write your changes to Lync Online:

Set-CsTenantFederationConfiguration -AllowedDomains $x
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft