This article provides information on how to configure Active Directory in XenDesktop 5.x.
To use Active Directory-based controller discovery in your environment in the previous versions of XenDesktop, you could use Active Directory (AD) Configuration Wizard to create and configure the AD Organizational Unit (OU) for the farm. But in XenDesktop 5.x, you have to use PowerShell script to perform that configuration.
To configure AD-based controller discovery in your environment, complete the following steps:
Run the PowerShell script Set-ADControllerDiscovery.ps1 that is installed on each controller in the folder $Env:ProgramFiles\Citrix\Broker\Service\Setup Scripts.
Run the script on the controller in the site.
Note: The user who runs the script must have full administrator rights of the controller and must have appropriate permissions to make changes in the relevant OU in AD.