> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Active Directory

Oleria's identity security provides critical visibility into AD resources, enabling organizations to quickly identify, assess, and mitigate identity and access-related risks. As a result, it offers better support for large enterprises that rely on Active Directory (AD) for various aspects of identity and access management. Oleria's identity security solution significantly improves Active Directory management by providing complete visibility and control over your organization's identity and access landscape.

This document provides step-by-step guidance for integrating Active Directory with your Oleria workspace.

## Prerequisites

* Administrator permission on the Oleria workspace
* An Active Directory Domain Joined (ADDJ) machine to install the Oleria AD Agent
* Administrator permissions on the ADDJ machine

## Create a Service Account in Active Directory

Create an Active Directory Service Account and grant **read-only** permissions.

<Steps>
  <Step title="Create a new user">
    Log in to Active Directory and create a new user, for example, **Oleria Read Admin**.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-1.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=c99b3930b61736ddf4f457f352eb3e9d" alt="Log in to Active Directory and create a new user, for example, Oleria Read Admin." width="749" height="529" data-path="images/integrations/active-directory/step-1.png" />
  </Step>

  <Step title="Delegate control">
    Open your AD Domain and select **Delegate Control**.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-2.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=e6bbcba7fe50706fb5b4473e632c3473" alt="Open your AD Domain →  select Delegate Control" width="563" height="526" data-path="images/integrations/active-directory/step-2.png" />

    Select the user as shown below.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-3.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=70779c8e7df5615aef7629fb99ac31d7" alt="Select the user as shown below" width="570" height="504" data-path="images/integrations/active-directory/step-3.png" />

    Grant the following read permissions:

    * Read all user information
    * Read all inetOrgPerson information

          <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-4.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=d31f7bb511aa0c0457ec3a1c59ff952d" alt="Read all inetOrgPerson information" width="566" height="410" data-path="images/integrations/active-directory/step-4.png" />
  </Step>

  <Step title="Verify group membership">
    The account will be automatically added to the Domain Users group. Open the Domain Users group to verify the service account.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-5.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=53e0bd7acbf6bcf1a999f53a8a2fb319" alt="Active Directory Domain Users group with service account listed as member" width="569" height="454" data-path="images/integrations/active-directory/step-5.png" />
  </Step>

  <Step title="Add to Read-only Domain Controllers">
    Add the user to the **Read-only Domain Controller** group.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-6.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=fbe209f722b2248a6c0ecb964cf12724" alt="Add the user to the Read-only Domain Controller group." width="565" height="529" data-path="images/integrations/active-directory/step-6.png" />
  </Step>
</Steps>

## Configure Event Forwarding

Follow [Microsoft Documentation](https://learn.microsoft.com/en-us/defender-for-identity/deploy/configure-event-forwarding) to configure Windows event forwarding.

## Integrate Active Directory with Oleria

<Steps>
  <Step title="Open the integration">
    Log in to your Oleria workspace and select **Workspace** → **Integrations** → **Active Directory**.
  </Step>

  <Step title="Name your agent">
    Provide a name for your agent and select **Continue**.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-7.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=c8fb5fa9f532415841cbfbf19edc9cc6" alt="Provide a name for your agent and click continue." width="1365" height="576" data-path="images/integrations/active-directory/step-7.png" />
  </Step>

  <Step title="Copy the installation script">
    You will see a PowerShell script with a copy option. Copy and execute this script on a member (domain-joined) server where you want to install the Oleria AD Agent.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-8.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=d5a100563f997aa4ab7cccffc6204bfc" alt="Oleria workspace showing PowerShell installation script with copy button" width="766" height="841" data-path="images/integrations/active-directory/step-8.png" />
  </Step>
</Steps>

## Install the Oleria AD Agent

<Steps>
  <Step title="Run the installation script">
    Log in to the ADDJ machine, open PowerShell with administrator privileges, and run the script copied from the previous section.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-9.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=087900162af6d483eda515564fd88529" alt="PowerShell terminal running Oleria AD Agent installation script" width="1225" height="672" data-path="images/integrations/active-directory/step-9.png" />
  </Step>

  <Step title="Accept the license terms">
    You will see the Oleria AD Agent installation process. Accept the license terms and select **Next**.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-10.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=3cf298578e6ba16ba92ff417cb65ab84" alt="Accept the license terms and select Next" width="508" height="401" data-path="images/integrations/active-directory/step-10.png" />
  </Step>

  <Step title="Provide the service account details">
    On the next page, provide the following:

    * **Username** - the service account name created above
    * **Password** - the service account password
    * **DomainName** - your domain name (for example, if your domain is `example.local`, provide `dc=example,dc=local`)
    * **DomainUrl** - your domain controller IP address

    Select **Next** and follow the prompts to complete the installation.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-11.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=c69e7462107e75d6afe1fc7d9ce75f80" alt="Select Next, and follow the prompts to complete the installation." width="496" height="388" data-path="images/integrations/active-directory/step-11.png" />
  </Step>

  <Step title="Confirm installation">
    Once the installation is completed, you will see an **OleriaADConnectAgent** service in the services list.

    <img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-12.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=936c9e5ada2e75cf6872b1f16c1cea49" alt="Windows Services panel showing OleriaADConnectAgent service running" width="806" height="269" data-path="images/integrations/active-directory/step-12.png" />
  </Step>
</Steps>

## Verify the Integration

Log in to your workspace → **Connected Integrations** → **Active Directory** → select **View Details** to open the side pane and view the agent health status.

<img src="https://mintcdn.com/oleria/JQNzbB9a7dBTORxV/images/integrations/active-directory/step-13.png?fit=max&auto=format&n=JQNzbB9a7dBTORxV&q=85&s=91e135d6800de7583b4eb124d1963e90" alt="Oleria Connected Integrations panel showing Active Directory agent health status" width="607" height="679" data-path="images/integrations/active-directory/step-13.png" />

## Contact us

For questions about this integration, contact us at [support@oleria.com](mailto:support@oleria.com).
