Topic Last Modified: 2012-03-27

Enables you to modify property values for the SIP domains in your organization. SIP domains are domains authorized to send and receive SIP traffic, and are used when assigning SIP addresses to users.

Set-CsSipDomain [-Identity <XdsGlobalRelativeIdentity>] [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-IsDefault <$true | $false>] [-WhatIf [<SwitchParameter>]]

In order to configure SIP addresses for your users (and thus enable them to use SIP-related software such as Microsoft Lync 2010), you need two pieces of information: a user ID (for example, Ken.Myer) and a SIP domain (for example, The SIP domain used to construct a SIP address must be a domain located within your Active Directory forest that is authorized to send and receive SIP traffic. For example, suppose you have domains named,, and, but only has been identified as being a SIP domain. In that case, you cannot use a SIP address like or, at least not until and have been configured as valid SIP domains. That is something you can do by running the New-CsSipDomain cmdlet.

You must always have one SIP domain configured as the default domain. The Set-CsSipDomain cmdlet provides a way for you to change your default SIP domain.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Set-CsSipDomain cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Set-CsSipDomain"}


Parameter Required Type Description




Fully qualified domain name (FQDN) of the SIP domain to be configured as the default domain. For example: -Identity




Indicates whether the domain is the default SIP domain, the domain used by Lync Server 2010 any time a domain name is not explicitly stated. If set to True, the new domain will become the new default domain. You cannot set this value to False because that would leave you without a default SIP domain.



Switch Parameter

Suppresses the display of any non-fatal error message that might occur 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.

None. Set-CsSipDomain does not accept pipelined data.

Set-CsSipDomain does not return any objects or values. Instead, the cmdlet is used to modify existing instances of the Microsoft.Rtc.Management.Xds.SipDomain object.

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

Set-CsSipDomain -Identity -IsDefault $True

The command shown in Example 1 makes the SIP domain the default SIP domain; this is done by using the IsDefault parameter and the parameter value $True. When this command is run, will become the default domain, and the domain which previously served as the default will be "demoted." That’s because you can have only one default domain.