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

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

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!

×