---
updatedAt: 2026-10-15T18:04:15.000Z
---

# Active Directory | Entitle

## Overview

Active Directory (AD) is Microsoft's proprietary directory service. It runs on Windows Server and enables administrators to manage permissions and access to network resources.

Entitle can manage access to Active Directory **groups, local admin access, and remote access (RDP) to computers**.

This page will provide you with instructions on how to integrate Entitle and Active Directory.

## General guidelines

<Callout icon="ℹ️" theme="info">
  Before proceeding with this guide, you might need to install Entitle’s Agent for the integration to work using the [Entitle agent](entitle-agent) instructions.
</Callout>

If you have already set up Active Directory as an IdP in Entitle with [Active Directory IdP connection](active-directory-idp-connection), use the same AD application configuration and continue to the [Creating the integration in Entitle](entitle-integration-active_directory#creating-the-integration-in-entitle) section.

**To integrate your Active Directory with Entitle, you will need to:**

* Provide Entitle with your Directory’s domain, server, username, and password values.

## Set up Active Directory to work with Entitle

### Stage 1: Extract your Directory’s domain

1. In your Active Directory Management Panel, click on the **Active Directory Users and Computers** folder.

2. Inside the folder, you will be able to see your Domain value written where the `example.org` value in the screenshot below is written.

   <Image src="https://files.readme.io/1b71681-Untitled_-_2024-01-10T125514.296.png" align="center" width="500px" border={true} />

3. Change the format of your Domain value to the following format. You will need this base distinguished name later on for the configuration in Entitle: `DC=<Domain_Prefix>,DC=<Domain_Suffix>`.

### Stage 2: Extract your hostname (server)

* In case you don’t know your Active Directory’s hostname, open your command line and run the following command: `hostname`. You will need it later on for the configuration as well.

### Stage 3: Provide Entitle with your username and password

#### Username

1. For the configuration later on, you will need to add your username in the following format: `Domain\\Username`.

1) Create a user, for example, in the default **Users** container, or wherever your organization stores service accounts.<br /><br />If your user already exists,  right-click the **Users** folder, choose **Properties**, and then click the **Account** tab. There, you will find it under the **User logon name**.
   <Callout icon="ℹ️" theme="info">
     Pay attention that in the username format required for the configuration, there are two slashes (`\\`) and not a single slash (`\`).
   </Callout>

<Image src="https://files.readme.io/a51d3c0-Untitled_-_2024-01-10T125624.193.png" align="center" width="500px" border={true} />

<Image src="https://files.readme.io/50af54a-Untitled.png" align="center" width="300px" border={true} />

#### Password

3. Set a password for the account if it is new.
   <Callout icon="ℹ️" theme="info">
     The configuration for Entitle currently uses a hard-coded password, so you should set the password to never expire or keep track of the expiration time, and update the password in the configuration (later) when it expires in AD.
   </Callout>

### Stage 4: Assign permissions

1. Go back to your Active Directory Management Panel and right-click on the **Users** folder.

[block:image]{"images":[{"image":["https://files.readme.io/da00f08b3ebc8e41ab120a63e5e6be9f74c2deecb72f49c10c6d9d08c74cbad5-image.png",null,""],"align":"center","border":true}]}[/block]

2. Choose the **View** option, check the **Detail** option, and the **Advanced Features** option below it.

[block:image]{"images":[{"image":["https://files.readme.io/946aa44-Untitled_-_2024-01-10T125937.181.png",null,""],"align":"center","sizing":"500px","border":true}]}[/block]

3. Right-click on the organizational unit (OU) where groups exist that Entitle will manage, click on **Properties** > **Security**.

<Image src="https://files.readme.io/30cc4ff-Untitled_-_2024-01-10T130120.090.png" align="center" width="400px" border={true} />

<br />

<Image src="https://files.readme.io/9540d67-Untitled_-_2024-01-10T130123.928.png" align="center" border={true} />

4. Click on the **Advanced** tab, and check if the Entitle user or group appears.

   <Image src="https://files.readme.io/a7df867-Untitled_-_2024-01-10T130231.329.png" align="center" width="500px" border={true} />

* If the Entitle user **doesn’t** appear, click on the **Add** button, add the user, and then continue to the next step.

* **Edit** the permissions of the Entitle user (or group). Make sure that **the following properties are selected:**

  * Read all properties
  * Write all properties
  * Read permissions

    <Image src="https://files.readme.io/5013a9a-Untitled_-_2024-01-10T130319.285.png" align="center" width="600px" border={true} />

* Click **OK** in the **Permissions Entry for Users, Advanced Security Settings for Users**, and the **Users Properties** screens.

* To allow Entitle to manage domain privileges, **the same process should also be applied to the Domain option:** repeat the steps above on the domain level.

  <Image src="https://files.readme.io/ada45ea-Untitled_-_2024-01-10T130352.694.png" align="center" width="300px" border={true} />

  <Callout icon="ℹ️" theme="info">
    The Entitle user must be a member of the **Domain Admins** group to manage admin groups in Active Directory.
  </Callout>

#### Manage group memberships

1. Right-click on the **OU (or OUs)** you wish to manage groups in. To manage groups in the whole organization, right-click on the **parent directory**.

2. Click **Delegate Control**.

   <Image src="https://files.readme.io/8beafe4f5b92553badd86b64c155c61c7701e02723e88db24beca95c0dab7b37-image.png" align="center" width="300px" border={true} />

3. Add the user you wish to add to the group and click **Next**.

4. Select the following task from the list: **Modify the membership of a group**.

   <Image src="https://files.readme.io/3f57bcb30bdeefcf1ec06832dbb7c28827705dd5d85a514053af70a4049a4cb5-image.png" align="center" width="500px" border={true} />

5. Approve and exit.

#### Manage permissions for RDP and local admin on computers (optional)

If you want Entitle to manage Remote Desktop (RDP) and local admin access to computers, complete the following steps in addition to assigning permissions for group memberships.

1. Create a new OU and name it *Entitle*.

   ![Active Directory Users and Computers window with the acme.com domain right-clicked. The New submenu is open, and the Organizational Unit option is highlighted.](https://files.readme.io/8c1d4d8605f1ea3e2bc6849c7f7e6f1a2d728a9840511388f607fdf9b9e029cc-image.png)

2. Delegate control to Entitle OU.&#x20;

3. Right-click the new *Entitle* OU, then click **Delegate Control**.

4. Add the user you just created and click **Next**.

   <Image src="https://files.readme.io/2f414af32a52e7783e98ac50fcfd356aadd7c7d5f0615dbbc93e51809a3d5bca-image.png" alt="Delegation of Control Wizard on the Users or Groups page, with one user listed and the Entitle OU selected." width="600px" />

5. Select the following tasks:
   * **Create, delete and manage groups**
   * **Modify the membership of a group**

     <Image src="https://files.readme.io/b2d961e7ba84bf73ebf2f02c88fbd8182c2198dc20d065ea010dfcd2e9983a95-image.png" alt="Delegation of Control Wizard on the Tasks to Delegate page, with the common tasks option selected and no tasks checked." width="400px" />

6. Click **Next**, then click **Finish**.

Next, delegate control to manage Group Policy links.

1. Right-click each OU that contains groups you want to manage. To manage groups across the entire organization, right-click the domain name at the top of the tree.

2. <Image src="https://files.readme.io/0c0e2228c2ae5ab6318bcab337452646488d9ff973208bde6fb9d7f6641998bc-image.png" alt="Context menu for the acme.com domain in Active Directory Users and Computers, with the Delegate Control option highlighted." width="400px" />

3. Click **Delegate control**, add the user you just created, then click **Next**.

4. Select the following task:
   * **Manage Group Policy links**

5. Click **Next**, then click **Finish**.

Add the user to the Group Policy Creator Owners group.

1. Right-click on the group *Group Policy Creator Owners*.
2. Click **Add to a group** and add the user you created.

   <Image src="https://files.readme.io/1135d05b0133502d44d75e639a97cc5f92849327bfbdd7a8166e042cb4d80442-image.png" alt="Context menu for the Group Policy Creator Owners group in Active Directory Users and Computers, with the Add to a group option highlighted." width="600px" />

<Callout icon="far fa-circle-info" theme="info">
  Granting access to an endpoint for the first time creates a Group Policy, which the endpoint applies at its next sync. By default, endpoints sync every 90 minutes, with a random offset of up to 30 minutes. To apply the policy immediately, for example when testing, run gpupdate /force on the endpoint.
</Callout>

<Callout icon="far fa-circle-info" theme="info">
  RDP and local admin permission management use SMB. Make sure your firewall allows SMB traffic on the required ports.
</Callout>

<Callout icon="far fa-triangle-exclamation" theme="warn">
  ### Important

  Revoking access takes effect the next time the user signs in. For example, a user with local administrator access keeps those permissions until the user signs out of the active session.
</Callout>

## Create the integration in Entitle

1. Log in to Entitle and go to the **Integrations** page.

2. Click **Add Integration**, then type **Active Directory** in the **Application** field.

3. Start the integration setup following the instructions in [Set up a new integration](pathfinder-integrations-resources-roles#set-up-a-new-integration).

   <Image src="https://files.readme.io/89ce1f293c1d8e17d86e3953e9d2da12ca2e9e32a028ca151bb0d56a0af2793d-ad-add-integration.png" align="center" width="75% " border={true} />

4. In the JSON, paste the values of the information generated earlier.

   * `server`: The hostname from [stage 2](#stage-2-extract-your-hostname-server). Supported formats are:
     * `ds.example.com`: Implicit LDAP scheme, address, default port of `389`
     * `ldap://ds.example.com:389`: LDAP with explicit port
     * `ldaps://ds.example.com`: LDAP with default port of `636`
     * `ldaps://ds.example.com:636`: LDAPS with explicit port

   * `username`: The value from [stage 3](#stage-3-create-an-entitle-user), step 1.

   * `password`: The value from [stage 3](#stage-3-create-an-entitle-user), step 3.

   * `base_dn`: The value from [stage 1](#stage-1-extract-your-directorys-domain).
     <Callout icon="✅" theme="okay">
       ### Example connection JSON

       ```json
       {
           "server": "<IP OR DNS NAME>",
           "username": "<CREATED USERNAME>",
           "password": "<USER'S PASSWORD>",
           "base_dn": "DC=example,DC=com"
       }
       ```
     </Callout>

   * `options`:
     * `ssl` (optional): Configure SSL settings.
       * `enabled`: Set to `true` to enable SSL.
       * `ca_file_data` (optional): Paste the entirety of your CA certificate as a single or multi-line string (using `\\n`), including `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.

     * `additional_base_dns` (optional): An array of additional Base Distinguished Name values for Entitle to search. Use this when your users and resources span multiple organizational units or domains. Entitle searches both `base_dn` and all values listed here.

   <Callout icon="✅" theme="okay">
     ### Example connection JSON with SSL and additional Base Distinguished Names

     ```json
     {
         "server": "<Hostname>",
         "username": "<Domain\\Username>",
         "password": "<Password>",
         "base_dn": "DC=example,DC=com",
         "options": {
             "ssl": {
                 "enabled": true,
                 "verify_hostname": true,
                 "ca_file_data": "-----BEGIN CERTIFICATE-----\n<CA_FILE_DATA>-----END CERTIFICATE-----"
             }
             "additional_base_dns": [
                 "DC=example,DC=org",
                 "DC=partner,DC=alt"
             ]
         }
     }
     ```
   </Callout>

5. Click **Save**.<br />The Entitle integration with Active Directory saves.

> ℹ️
>
> Should you need to allowlist this integration, these are the IP addresses from which Entitle's service reaches the integration:
>
> * Entitle EU (Cloud deployment)
>   * 34.243.199.171
>   * 54.216.133.226
> * Entitle US (Pathfinder deployment)
>   * 52.45.229.219
>   * 54.88.235.213
>   * 3.224.15.134
> * Entitle CA (Pathfinder deployment)
>   * 35.182.218.208
>   * 15.156.179.153

> ✅ What's next?
>
> Make sure your setup is complete by [testing your integration](test-your-integration).