Error message when you run the "Enable-CsAdDomain" command in a Lync Server 2010 environment

Article ID: 2672929 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Assume that you run the following command in the Lync Server Management Shell in a Microsoft Lync Server 2010 environment:
Enable-CsAdDomain -Domain FQDN1 -DomainController FQDN2


Note In this command, FQDN1 is a placeholder for the fully qualified domain name (FQDN) of the domain and FQDN2 is a placeholder for the FQDN of the domain controller.

In this situation, the command does not run successfully. Additionally, you receive the following error message:
Enable-CsAdDomain fails with the following error:
Error: Cannot find the object "CrossRef" in Active Directory.
▼ Details
└ Type: ActiveDirectoryException
└ ▼ Stack Trace
└ at Microsoft.Rtc.Management.Deployment.Core.DeploymentCommon.FindDomainPartitionByFqdn(DeploymentContext context, String domainFqdn)
at Microsoft.Rtc.Management.Deployment.Core.DeploymentCommon.FindDomainIdByFqdn(DeploymentContext context, String domainFqdn)
at Microsoft.Rtc.Management.Deployment.Domain.Init()
at Microsoft.Rtc.Management.Deployment.Domain..ctor(DeploymentContext context, String domainFqdn, String groupDomainFqdn, Boolean isCrossForest)
at Microsoft.Rtc.Management.Deployment.Tasks.DomainPrepareTask.Action()at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)

Note This issue also occurs after you complete the Prepare Current Domain step during the Lync Server 2010 installation process.

CAUSE

This issue occurs because the command populates the domain value by using the domain controller FQDN instead of the domain FQDN when the command builds a Lightweight Directory Access Protocol (LDAP) query. Therefore, the query is built incorrectly.

RESOLUTION

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

MORE INFORMATION

For more information about the Enable-CsAdDomain command, visit the following Microsoft website:
General information about the Enable-CsAdDomain command

Properties

Article ID: 2672929 - Last Review: March 1, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft Lync Server 2010 Enterprise Edition
  • Microsoft Lync Server 2010 Standard Edition
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseinter KB2672929

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com