Article ID: 116033, created on Apr 30, 2013, last review on May 11, 2014

  • Applies to:
  • Operations Automation


The Get-CsTenant PowerShell cmdlet being run with or without parameters returns empty list while it is supposed to return either list of Lync tenants satisfying given search criteria or list of all Lync tenants on installation.


Root Organizational Unit (OU) for Lync tenants is configured improperly in Active Directory. It may happen due to improper deployment or manual changes in AD.

As a result the Get-CsTenant cmdlet performs search in the wrong OU.


Follow the steps below to properly configure the Root Organizational Unit (OU) for Lync tenants in Active Directory.

1. Log on to the AD Domain Controller host under Domain Administrator account

2. Open a Command Prompt window: Start > Run > cmd.exe

3. Run the ldp.exe utility.

4. In the Connection menu, click Connect.

5. In the Connect window, enter the hostname of the Domain Controller host in the Server field, e.g.  AD01, and click OK.

6. In the Connection menu, click Bind.

7. In the Bind window, click OK.

8. In the View menu, click Tree and select the configuration partition from the drop-down menu, click OK:

Note: The configuration partition option is the one that begins with 'CN=Configuration'.

9. Right-click the root node, select Modify, and do the following:

10. In the Edit Entry section, enter otherWellKnownObjects for Attribute and B:32:DE8197E3283B2C439A62F871E529F7DD:DN_OF_ROOT_OU for Values. Replace DN_OF_ROOT_OU with the actual Distinguished Name of the root OU for POA-managed objects in AD:

For example: B:32:DE8197E3283B2C439A62F871E529F7DD:OU=Hosting,DC=hosting,DC=local.

11. In the Operation box, select Replace and then click Enter.

12. Click Run.

13. In the Connection menu, click Exit to close ldp.exe.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF