Connect Microsoft Active Directory (Connector Version

This guide provides the required steps to connect Microsoft Active Directory to Cloud Control Center (Connector Version 2.3.0 and newer) as a data enrichment source for users and devices. For details on what data and events Elisity collects and how that data is used, please see our Microsoft Active Directory Integration Event Polling Details Article.


Installation Prerequisites

The Elisity AD Connector should be installed on a Windows machine (Windows 10/Windows Server 2016/2019) that is a member of the root domain of the enterprise. It can also be installed on the Domain Controller running Windows 2016/2019 server.

This guide is for installing the Elisity Active Directory agent on any member server or domain controller.


  • Minimum requirements are:
    • Microsoft .Net Framework v4.7.1. Please use the link here for guidance on determining the framework version
    • 4GB RAM
    • 1 GB free disk space
  • Outbound Port 443 is required to send Event Logs to Elisity CCC.
  • Agent must be installed with Administrator Privileges
  • A service account for the Elisity Connector Service
  • Ensure to run the following command on all servers to be monitored and the machine on which the Agent is installed. (From the command console Running As Administrator) This commands enable the event source computer, whether it is a member server or your domain controller, to respond affirmatively to source initiated subscriptions. The following commands enable Windows Event Collector Utility quick config (with the /q switch allowing source initiated subscriptions.)
wecutil qc /q
The Elisity AD Agent locally works with MSFT Windows Event Collector Library (WEC). Windows Event Collector internally uses Standard Windows Recommended RPC ports to communicate with Domain Controllers for logon events. The DC Firewall should have incoming access to Standard Dynamic Ports for the Member Computer where the agent is running.
Windows Remote Management is NOT required for event collection. Polling of AD Events will proceed as normal without enabling winRM.


Elisity Active Directory (AD) Connector is required for customers with an on-premise Active Directory (AD) environment. Elisity AD connector will keep the user login data synchronized with the Elisity Cloud Control Center (CCC) and provide the means of defining policies through User Identity.

Go through this installation process on each domain controller or member server you want to onboard, but you should only SYNC from ONE domain controller. More details are found in the following steps.

Passwords are never synced to the Elisity Cloud Control Center.


Create a Service Account for the Elisity AD Connector

  1. Create a new user in the appropriate domain to act as the Elisity AD Service Account
  2. Give the user a unique name to identify it as the Elisity AD Service Account
  3. Protect the user from accidental deletion
  4. Add the user to the group 'Event Log Readers'

Update Group Policy Settings

Go To: Server manager > Tools > Group Policy Management

  • Create a new GPO (applicable to all DCs) or edit the default Domain Controller GPO as follows (figure 1)

Figure 1 (click image to enlarge)

Go To: Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Account Logon

  • Enable Success (figure 2) for 'Kerberos Authentication Service'
  • Enable Success (figure 2) for Audit Kerberos Service Ticket Operations

Figure 2 (click image to enlarge)

Go To: Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Account Management

Enable Success for Audit Computer Account Management, Audit Security Group Management, and Audit User Account Management (figure 3)

Figure 3 (click image to enlarge)

Go To: Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > DS Access

  • Enable Success for Audit Directory Service Changes (figure 4)

Figure 4 (click image to enlarge)

Go To: Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Logon/Logoff

  • Enable Success for Audit Account Lockout, Audit Group Membership, and Audit Logon

Figure 5 (click image to enlarge)


Modifying User Auditing Settings in ADSI Edit

Go To: Server Manager > Tools > ADSI Edit

  • In ADSI Edit, click Action > Connect to… > 'Default Naming Context'
  • Hit OK

Right Click Users and select Properties (figure 6)

Figure 6 (click image to enlarge)

Select Security tab > click Advanced > select Auditing tab (figure 7)

Figure 7 (click image to enlarge)

Click Add (figure 8) > click select principal (figure 9)

Figure 8 (click image to enlarge)

Figure 9 (click image to enlarge)

Check the full control box (figure 10), then deselect the following four checkboxes: Full control, List contents, Read all properties, Read permissions

Figure 10 (click image to enlarge)

Click OK and exit


The purpose of these permissions is to enable the system to audit all writes and modifications in the AD database for "Everyone." These permissions allow the Elisity Connector to audit user/group attribute changes in real time. It is critical that the system get attribute changes to maintain accurate identification of users and assets. Without the permissions above, Active Directory will not generate audit events for attribute changes. These permissions DO NOT give write access or permissions to perform any actions, they simply allow auditing of writing, creating, deleting, etc.


After completing everything above, go to the command prompt and execute the command:


This will update all the policy changes without needing any reboots.


Elisity AD Connector Installation instructions

If you are deploying an AD Agent in 15.6.0+ the location in Cloud Control Center is now in the Active Directory tab rather than the Connectors tab.


  • Navigate to Settings > Connectors > + Add Connector in Cloud Control Center.

Figure 11 (click image to enlarge)

In 15.6+ you no longer add the AD agent from the connectors tab. Instead, go to settings >Active Directory > Agents > + Add Agent

  • Click DOWNLOAD on the Active Directory connector.
  • Save the file to your local laptop/desktop or the machine where the Connector will be run.

Figure 12 (click image to enlarge)

  • Copy the file into a TMP directory in the target machine (Windows 2016/2019 Server) to host the Elisity AD Connector Service.
  • Extract the files after copying them into the target machine.
  • Run setup.exe as an administrator (figure 13). Leave all options as default.

Figure 13 (click image to enlarge)

Note: this machine should be a member of the Root AD Domain.

The Connector is configured as a Windows Service as LocalService and will need further configurations (via another tabbed window, 'Elisity AD Connector Config App'). 

At this point, you can click on [Close] to dispose of the installer window.

Giving Permissions to the Elisity Service Account

After successfully installing the Agent, open Windows Explorer, go to the installation folder, click on Security and provide full-control access to Service Account User for the default folder "C:\Programs Files\Elisity Inc" 

Screenshot 2024-01-08 at 12.45.14 PM.png
Figure 14 (click image to enlarge)


Connecting the Elisity AD Connector Config App to CCC

  • Go back to Cloud Control Center connectors page
  • Click the view configuration button on the Active Directory connector
  • Copy and save both the Gateway Server URL and Gateway Credential (figure 15)
    • You can click the Copy icon to save the Credential to Clipboard

Screenshot 2024-01-08 at 12.24.14 PM.png

Figure 15 (click image to enlarge)

Paste these credentials into the Elisity AD Connector. Click on Register Software.

Figure 16 (click image to enlarge)

Now we will enter the credentials of the service account that we created earlier.

  • Navigate to the Eada Service tab on the Elisity AD Connector Config App. Enter the service user credentials in the format domain\userid and enter the service user password. Click Save Service Config.

Figure 17 (click image to enlarge)

Here the Application will configure the Connector Service to run as the user you have provided. 

The status of the Service will be in a 'Stopped' state.


Final Configuration Steps

Next, we need to configure which domain controllers we will use to collect data and monitor events. To do this, we need to modify a configuration file and insert the FQDN for each Domain Controller we wish to monitor.

Note: If the agent is being installed on the ONLY Domain Controller that will be used for both initial sync and continuous monitoring of events, this step is not necessary and no configuration is required. 

Go to the Elisity AD Connector folder, usually found at:

     C:\Program Files\Elisity Inc\ElisityADConnector

Open the EuaConfGlobal.json file (pictured below)

There are two primary configurations that we are concerned with in this file: DEHostsEV and DCHostGC in lines two and three. The rest of the configurations in this file can be left as the default, except in unique cases. 

    "DisableCV": false,
    "DCHostGC": "",
    "DCHostsEV": "",
    "CustomUserAttrs": "",
    "CustomUserFilters-OR": [],
    "CustomLdapFilter": "",
    "DcLoginEnabled": false,
    "SubscriptionWatchMode": false,
    "SysAccountLoginsToIgnore": "",
    "IgnoreLoginOlderThanMinutes": 1440,
    "EventPollingIntervalMilliSeconds": 500
"BlockedUsers": "",
"AlwaysAllowedUsers": ""


  • "DCHostGC" is the specified Domain Controller that will be used for the Initial Sync Process. Here we need to provide the HostName of a Domain Controller that we can make LDAP queries to do a full sync. This DC needs have performance and compute resources to handle LDAP queries during the sync process, typically one of your primary Domain Controllers.
  • "DCHostsEV" is a list of domain controllers which we will use for regular monitoring. This list should be comprised of Domain Controllers where we are likely to see user authorization and attachments in environments where Elisity is deployed.
  • You can monitor up to 20 additional servers (DCHostsEV) with a single Elisity AD agent. 
  • (Optional) Add user account names to the "BlockedUsers" field from which you would like to ignore login events. Add exceptions to the "BlockedUsers" field in "AlwaysAllowedUsers" - comma separated within the quotation marks.

BlockedUsers typically includes the Elisity service account username, and any other user from which you would like to ignore login events. You can use expressions to match username patterns. For example:
If your Elisity service account is called elisity_service you can use elisity* or *service or *ity_ser* in the "BlockedUsers" field to match to this account, as well as any other accounts that match that pattern. 

AlwaysAllowedUsers will allow you to include an exception to this rule. If there is a user account that would match to the expression used in "BlockedUsers" you can specify that account name in this field, which would exclude that specific account from the list of ignored user login events.


Config File Examples

Scenario 1: Installing on a member server with multiple DC's: 

'DisableCV': false,
'DCHostGC': "",
"DCHostsEV": ",,",
"CustomUserAttrs": "",
"CustomUserFilters-OR": [],
"CustomLdapFilter": "",
"DcLoginEnabled": false,
"SubscriptionWatchMode": false,
"SysAccountLoginsToIgnore": "",
"IgnoreLoginOlderThanMinutes": 1440,
"EventPollingIntervalMilliSeconds": 500
"BlockedUsers": "",
"AlwaysAllowedUsers": ""

Scenario 2: Installing on a primary Domain Controller

"DisableCV": false,
"DCHostGC": "",
"DCHostsEV": ",,",
"CustomUserAttrs": "",
"CustomUserFilters-OR": [],
"CustomLdapFilter": "",
"DcLoginEnabled": false,
"SubscriptionWatchMode": false,
"SysAccountLoginsToIgnore": "",
"IgnoreLoginOlderThanMinutes": 1440,
"EventPollingIntervalMilliSeconds": 500
"BlockedUsers": "",
"AlwaysAllowedUsers": ""

Scenario 3: Installing on the Sole Domain Controller

No configuration needed.

Service will be in a 'Stopped' state.


Initiating a Sync from Cloud Control Center

After you have installed the connector on all of the relevant member servers and domain controllers, select a single domain controller to initiate your first sync. The Sync process will pick up all user/groups and data from the entire domain regardless of where you trigger the Sync from. Therefore you need to trigger a Sync for only ONE Active Directory Connector.

To initiate a sync process, go to Connectors, select the appropriate Active Directory Connector, and click [Sync]


Note: It will take a few minutes to pull all user and device data. Active Directory is used as an enrichment source for devices, so you should except to see updates to device identity data, as well as new users populated into Cloud Control Center. During the full sync process, Eada.Service will be paused (No events will be processed) for a few minutes until the sync has completed. 

Checking Connector Status from Cloud Control Center

Several tools are available from the AD Connector Overview in Cloud Control Center. 

  • View Details

View details about the AD connector agent, agent host machine, and status of all Domain Controllers monitored by the agent. Check the status of your connector, and when the last status change for the connector occurred. This gives customers a quick way to view important information about all Elisity AD connectors deployed throughout their network. 

Sync Domain (Active Directory)

   This allows users to initiate the resync process from Cloud Control Center without needing to access the Agent. This is the same process as clicking [Resync] in the agent.

Troubleshoot (request log collection)

   Allows downloading relevant logs from the server for troubleshooting and review.

Upgrading the Elisity Active Directory Connector

Follow these steps to ensure that your AD Connector Config App is upgraded correctly to the latest recommended version.

Step 1: Download the package on the windows machine Step 2: Stop Eada.service and close the Connector application. Step 3: Uninstall the AD agent app. You can run the installer for the current version AD connector installed, and select uninstall. Optionally you can use Windows uninstaller. Step 4: Perform a cursory check the exe/dll files are gone after uninstall. After uninstalling, the folder at C:\Program Files\Elisity Inc\ElisityADConnector should look similar to the image below, with no .exe or .dll files. 

IF Upgrading from AD Connector Version 2.2 to 2.3

This Upgrade path requires the deletion of the folder C:\Program Files\Elisity Inc which includes the configuration files. Before deleting the folder, you should take note of the following configurations as they will need to be reconfigured after the upgrade.

1. Copy Configs from EuaConfGlobal.json    Specifically, the following configurations for which AD Servers are monitored.

      'DCHostGC': "",

      "DCHostsEV": ",,",

      "BlockedUsers": "",

      "AlwaysAllowedUsers": ""

2. Elisity Service Account Username and Password

3. Cloud Control Center Gateway Credentials (found here)

IMPORTANT: After upgrading, check your configurations in EuaConfGlobal.json - If are missing, simply copy the fields above that you took note of, and restart the Elisity service. 


Step 5: Extract the downloaded zip package, right click on setup.exe and ‘Run as administrator’. Follow the installer prompts to install the new connector app.


Step 6: Select the Gateway Settings tab in the APP, and provide the registration credentials found in the Cloud Control Center AD connector details.

Note: You can find the correct credentials by clicking "Add Connector" in Cloud Control Center and clicking "Configure" on the Active Directory Connector.

Click "Register Software" and you will receive a notification on screen to ensure that the connector has registers successfuly with Cloud Control Center, or if an error has occurred.

Step 7: Make sure your agent credentials are set in the EADA Service tab, and start the EADA.service.

In Cloud Control Center, you should see the new connector version reflected in the Connector details tab for Active Directory. If the version does not change, re-register the connector using the steps above. 


Was this article helpful?
0 out of 0 found this helpful