Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you run the Set-CsRegistrar command in Lync Server Management Shell in a Lync Server 2010 environment


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Resolution

To resolve this issue, install the following cumulative update:
2670334 Description of the cumulative update for Lync Server 2010, Core Components: February 2012


↑ Back to the top


Workaround

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.

↑ Back to the top


More Information

For more information about the Set-CsRegistrar command, visit the following Microsoft website:
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

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

Article Info
Article ID : 2666710
Revision : 1
Created on : 1/7/2017
Published on : 3/1/2012
Exists online : False
Views : 319