Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Consider the following scenario:

  • You apply one of the following updates in a Microsoft Lync Server 2010 environment:

    • The cumulative update for Lync Server 2010 that is released in July 2011.

    • The hotfix that is mentioned in Microsoft Knowledge Base (KB) article 2630296.

  • You try to configure the Session Initiation Protocol (SIP) listening port properties for a Registrar in Lync Server Management Shell by running the following command:
    Set-CsRegistrar -Identity "Registrar:Lync Pool FQDN" -SipServerTcpPort port number

In this scenario, the command cannot run. Additionally, you receive the following error message:

Set-CsRegistrar -Identity "Registrar: <Lync Pool FQDN>" -SipServerTcpPort <UInt16> -Verbose
VERBOSE: Setting identity "Registrar: <Lync Pool FQDN>"
VERBOSE: Performing operation "Set-CsRegistrar" on Target "Registrar: <Lync Pool FQDN>".
Set-CsRegistrar : GruuType must have a length of at least 1.
At line:1 char:16
+ Set-CsRegistrar <<<<  -Identity "Registrar: <Lync Pool FQDN>" -SipServerTcpPort <UInt16> -Verbose
    + CategoryInfo          : InvalidArgument: (Registrar:Siriu...irius-dom.local:String) [Set-CsRegistrar], PropertyArgumentOutOfRangeException
    + FullyQualifiedErrorId : InvalidUpdate,Microsoft.Rtc.Management.Xds.SetRegistrarCmdlet

VERBOSE: No changes were made by this command.


To resolve this issue, install the following cumulative update:

2670334 Description of the cumulative update for Lync Server 2010, Core Components: February 2012


To work around this issue, temporarily uninstall the update that is mentioned in KB article 2571545, run this command, and then reinstall the update that is mentioned in KB article 2571545.

More Information

For more information about the Set-CsRegistrar command, visit the following Microsoft website:

General information about the Set-CsRegistrar command
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2630296 Description of the update for Lync Server 2010: October 2011

2493736 Updates for Lync Server 2010

2571545 Description of the cumulative update for Lync Server 2010, Core Components: July 2011

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!