Connect Microsoft Active Directory

This article outlines the steps to connect Microsoft Active Directory (Microsoft AD) to Cloud Control Center.

Installation Prerequisites

The Elisity AD Connector should be installed on a Windows 2016/2019 Domain Controller or Server that is a member of the Root Domain of the enterprise.

  • 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.
  • Must be installed with Administrator Privileges
  • A service account for the Elisity Connector Service
  • Ensure to run these two commands on all DCs to be monitored and the machine in which the Agent is installed. (From the command console Running As Administrator)
    • winrm qc -q
    • wecutil qc /q

Note: 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.

Note: 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-01
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-02
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-03
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-04
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-05
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-06Figure 6 (click image to enlarge)

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

Figure-07
Figure 7 (click image to enlarge)

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

Figure-08
Figure 8 (click image to enlarge)

Figure-09
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
Figure 10 (click image to enlarge)

Click OK and exit

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

gpupdate/force

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

Elisity AD Connector Installation instructions

  • From your domain controller, navigate to Elisity Cloud Control Center
  • Navigate to the Connectors section in Cloud Control Center
  • Click on +IDP/Connectors in the top right corner (figure 11)

Figure-11
Figure 11 (click image to enlarge)

  • 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
Figure 12 (click image to enlarge)

  • Copy the ElisityADConnectorInstaller.zip 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
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.

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”

Figure-14
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

Figure-15

Figure 15 (click image to enlarge)

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

Figure-16
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
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 Steps

  • Provide the DC hostname (FQDN, e.g., dc1.company.com) in the property file json
    • Example: "DCHostsEV": "ad1.acme.com"
  • Provide the HostName of a DC that we can make LDAP queries to do a full sync. This DC should be a performant server to pull all the data. This also goes into the ElisityConfGloba.json.
  • If Elisity AD Agent is installed on the Data Center itself, just provide the FQDN of the local-DC
  • Example: "DCHostGC": " ad1.acme.com"
  • To initiate the first full sync of the AD database with Elisity Cloud Control Center, you can click on[Resync]to sync all the AD Users to Elisity Control
    • You can trigger the Sync from Elisity UI as It will take a few minutes to pull all the users.The Service will be paused (No events will be processed) during Full Sync.
    • After the Sync is complete, the Connector Windows Service will be started
  • The status will show as“running”if the workflow is completed
    • You can see the status of the Connector in the Elisity Cloud Control Center UI.

The connector onboarding is complete.