Skip to main content

OrgChart Help Guide

Table of Contents

Active Directory Agent


Audience: Administrators


Active Directory (also known as AD) is a directory service that Microsoft developed for Windows networks and is usually not accessible from outside an organization's firewall. Therefore, a direct connection to Active Directory is rarely possible (from the cloud).

In order to extract data from a customer's AD, a small software package must be installed and configured on a server within the customer's network.

Other options for extracting data from AD are also available—see Active Directory Integration for more details.

System Requirements

The Active Directory agent must be installed on a server within the customer’s network (the server does not have to be running an Active Directory role, but must be a member of the domain).

Server Requirements:
  • The server does not need to be a dedicated server (server can have other applications running on it)

  • Operating System - Microsoft Server 2012, 2012 R2, 2016, 2019

  • Memory - minimum of 2GB

  • Disk - minimum of 1.5GB of free disk space

  • Network - server must have internet access (in order to push the Active Directory data to OrgChart)

  • Customer can opt to use the built-in Windows Task Scheduler to monitor the Active Directory Agent


Below is an installation guide for the Active Directory Agent. To upgrade, skip to the "Install or Upgrade Active Directory Agent" section below.

Install Python
  1. Go to the following URL:

  2. Download version 3.7.4 of Python (make sure to download "Windows x86-64 executable installer" for 64-bit servers)

  3. After download is complete, run the file "xxx.msi" (xxx is the installer version)

  4. Select "Install for launcher for all users" and select Customize Installation.

  5. Select Next.

  6. Select the box for "Install for all users", and update the "Customize install location" to"C:\Python37\". Then select Install.

  7. After the program has installed, select Close.

Add Python entry to the PATH Environment
  1. Open the File Explorer on your computer.

  2. Right-click on "This PC".

  3. Select Properties.

  4. Select Advanced System settings on the left.

  5. Select the Advanced tab.

  6. Select Environmental Variables.

  7. Select Path in the bottom list.

  8. Select Edit.

  9. In the "Variable value" text area, select New and add the following text to the end of the existing text, but do not replace existing text.

    1. ;C:\Python37;C:\Python37\Scripts

  10. Select OK, then OK, then OK again.

Install Python for Windows Extensions

Install: (where xxx is the version number). The installer can be downloaded using the following link: Windows Extensions.


If you are running a 32-bit server, you'll need to download and install the 32-bit version of Python for Windows Extensions.

Install or Upgrade Active Directory Agent

Contact technical support for a download link. You will be provided with a zip file that you can unzip to any folder on your server.

  1. Unzip the ADAgentInstall zip file.

  2. Use the "cd" command to navigate to the "ADAgentInstall" folder.

  3. Type "python" and hit Enter.

Install Required Python Modules
  1. Launch Windows Powershell.

  2. Use the "cd" command to navigate to the "C:\ADAgent" folder (created by the installer).

  3. Type "pip install -r requirements.txt" and hit Enter. Required modules will be installed.

  4. If you get an error, contact technical support.


The Active Directory Agent uses an XML file for configuration. See the Active Directory Configuration topic for more details on configuration.