Assume that you run the following command in the Lync Server Management Shell in a Microsoft Lync Server 2010 environment:
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:
Note This issue also occurs after you complete the Prepare Current Domain step during the Lync Server 2010 installation process.
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)
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.