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

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.
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.
To resolve this issue, install the following cumulative update:
2670334 Description of the cumulative update for Lync Server 2010, Core Components: February 2012
For more information about the Enable-CsAdDomain command, visit the following Microsoft website:

Article ID: 2672929 - Last Review: 03/01/2012 23:05:00 - Revision: 1.0

Microsoft Lync Server 2010 Enterprise Edition, Microsoft Lync Server 2010 Standard Edition

  • kbqfe kbfix kbsurveynew kbexpertiseinter KB2672929