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 "Enable-CsAdDomain" command in a Lync Server 2010 environment


View products that this article applies to.

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.

↑ Back to the top


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.

↑ 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


More Information

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

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseinter, kb

↑ Back to the top

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