[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Enables you to specify whether your Microsoft Communications Server “14” domain is allowed to federate with any domain.


Set-CsAllowAllDomains -AllowAllDomains <$true | $false> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]


Parameter Required Type Description




Set to True ($True) to allow your domain to federate with any other domain. Set to False if you only want to allow federation with domains found on the allowed domains list.



Switch Parameter

Suppresses the display of any non-fatal error message that might arise when running the command.



Switch Parameter

Describes what would happen if you executed the command without actually executing the command.



Switch Parameter

Prompts you for confirmation before executing the command.

Detailed Description

Federation is a means by which two organizations can set up a trust relationship that facilitates communication between the two groups. When a federation has been established, users in the two organizations can send each other instant messages, subscribe for presence notifications, and otherwise communicate with one another using SIP applications such as Microsoft Communicator "14". Microsoft Communications Server 2010 allows for three types of federation: 1) direct federation between your organization and another; 2) federation between your organization and a public provider; and, 3) federation between your organization and a third-party hosting provider.

If you prefer, you can allow your Communications Server domain to federate with any other domain; this is done by calling the Set-CsAllowAllDomains cmdlet and setting the value of the –AllowAllDomains parameter to True ($True). If AllowAllDomains is True then your domain can federate with any other domain. If AllowAllDomains is False then you can only federate with domains that are on the allowed domains list. That list is populated using the New-CsAllowedDomains cmdlet.

Return Types

Set-CsAllowAllDomains modifies a Boolean (True/False) value.


-------------------------- Example 1 ------------------------

Copy Code
Set-CsAllowAllDomains -AllowAllDomains $False

The command shown in Example 1 disables the ability of Communications Server to automatically federate with all domains. To do this, simply pass Set-CsAllowAllDomains the parameter value $True.