> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/m/manage-engine-admanager-plus-v2.md).

# Manage Engine ADManager Plus V2

This adapter targets the same software as the Manage Engine ADManager Plus adapter but uses the `/api/v2` endpoints. Use the version that matches the API of your installation. OctoXLabs reads the computers and, when enabled, the users of one domain.

## Use cases

* **Find domain computers that your EDR does not cover.**

```
Adapters = manage-engine-admanager-plus-v2 AND NOT Adapters = falcon-crowdstrike
```

* **Find users that are in ADManager Plus but not in another directory.** Turn on Fetch Users first. How accounts are matched depends on your user merge settings.

```
Adapters = manage-engine-admanager-plus-v2 AND NOT Adapters = azure-entra
```

## Before you begin

### Network

| Source              | Destination                          | Port           | Protocol                           |
| ------------------- | ------------------------------------ | -------------- | ---------------------------------- |
| OctoXLabs connector | ADManager Plus server (IP parameter) | 8080 (default) | HTTPS (HTTP when Is Secure is off) |

If a proxy is set, requests go through it.

### Required permissions

| Scope or role                                   | Permission                       | Needed for                                      |
| ----------------------------------------------- | -------------------------------- | ----------------------------------------------- |
| Technician account with the required delegation | Auth token with a suitable scope | Calling `/api/v2/computers` and `/api/v2/users` |

The baseline says to use a technician account that has the required delegation and to select the required scope. It does not name them.

## Create credentials in ADManager Plus

{% stepper %}
{% step %}

### Sign in

Log in to ADManager Plus with a technician account that has the required delegation.
{% endstep %}

{% step %}

### Open Active Authtokens

Go to **My Account > Active Authtokens** and click **+Generate Authtoken**.
{% endstep %}

{% step %}

### Fill in the token details

Choose the ADManager Plus technician, enter a unique **Authtoken Name**, select the required **Scope** and set the **Expiry Time**. Click **Generate Authtoken**.
{% endstep %}

{% step %}

### Find the domain name

Click the **Directory/Application Settings** icon in the top right corner to see the configured domains.
{% endstep %}
{% endstepper %}

The generated token appears in the **Active Authtokens** list.

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                 |
| ------------- | -------- | ------- | ------- | ----------------------------------------------------------- |
| IP            | Yes      | String  | None    | Address of the ADManager Plus server.                       |
| Port          | No       | Integer | 8080    | Port of the server.                                         |
| Domain Name   | Yes      | String  | None    | Domain to search, sent as `domains`.                        |
| Auth Token    | Yes      | String  | None    | Token, sent in the `Authorization` header.                  |
| Is Secure     | No       | Boolean | True    | Use HTTPS.                                                  |
| Timeout       | No       | Integer | 30      | Seconds to wait for an API response.                        |
| Fetch Users   | No       | Boolean | False   | Also reads users.                                           |
| Fetch Devices | No       | Boolean | True    | Reads computers.                                            |
| Per Page      | No       | Integer | 100     | Records per request.                                        |
| Proxy         | No       | String  | None    | Proxy address, used as `http://<value>` for HTTP and HTTPS. |

## Troubleshooting

| Error message                     | Cause                                                 | Fix                                                                  |
| --------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------- |
| Unexpected error: {response text} | The API answered with a status other than 200 or 429. | Read the response text, then check the token scope, domain and port. |

## Change history
