Prepare Adaxes
- Install the Adaxes REST API component and record its HTTPS base URL. The URL includes the IIS virtual directory chosen during installation, for example
https://adaxes.example.com/restApi. - Create a dedicated service account. Grant it the Adaxes security roles and directory scope required by your workflows. For inventory workflows, start with read permissions. Grant account, membership, or custom command permissions only when those operations are required.
- Generate an access token for that account using
New-AdmAccountTokenfrom the Adaxes PowerShell module. Keep the token private. - Review the REST API’s allowed operations and custom commands and directory object access restrictions. These settings can restrict calls even when the account has permission.
Connect in Serval
- Open Integrations, select Adaxes, and start a connection.
- Enter the REST API URL, including the configured virtual directory. Enter the base URL only, without an
/api/directoryObjectsendpoint, query string, or fragment. - Enter the Access token and submit the form.
- Run the read-only healthchecks to check connectivity, authentication, and directory read permissions. These checks do not establish that the account can perform writes.
Adm-Authorization header. Workflow authors do not need to supply it. Changing the server or REST API path requires entering the token again. Leaving the token unchanged while editing the same endpoint preserves the stored secret.
Private networks
Your configured Serval deployment must be able to reach the REST API over HTTPS and trust its TLS certificate. For an Adaxes installation reachable only within your network, use a compatible self-hosted worker and configure the connection to route requests through that worker. See private network access. A private hostname alone does not select a worker route.Use in workflows
Useadaxes.apiRequest with a supported method, path, query, and JSON body. Object identifiers, properties, search criteria, and permissions follow the Adaxes REST API reference.
Search is a POST /api/directoryObjects/search request. Set a narrow search base, criteria, and a sizeLimit appropriate for the workflow. The endpoint does not expose a continuation cursor: reaching the limit may mean the result is incomplete. Do not infer that an object was deleted or that an inventory is complete from a bounded search. Group-member reads can also be limited with sizeLimit.
Directory-property writes use Adaxes property names, types, and value arrays. Check the property value documentation when setting multivalued properties or replacing, appending, and deleting values.
Operation results and approvals
Adaxes can return HTTP 200 even when a write fails or requires approval. The SDK checks the returned operation result and fails the action for an error or a suspended operation. A suspended operation may have submitted an approval request; it has not completed the requested change. Check the actual Adaxes state before retrying a write whose result is uncertain. Retrying can duplicate a provisioning action or approval request. Synchronous execution is supported; opting into asynchronous execution withAdm-Wait is outside this connector’s API.

