Active Directory Integration
Active Directory (AD) integration populates your xAssets database with location, department, user, and computer information from your AD environment. Run it before network discovery. Locations are then pre-populated, and discovered computers can be matched to their AD records.
Imported Data
AD integration brings four types of data into xAssets:
| Data Type | Source in AD | How It Is Used in xAssets |
|---|---|---|
| Location Hierarchy | Organizational Unit (OU) structure | Populates the location tree for asset assignment |
| Departments | User department field | Creates department records for departmental reporting |
| Users/Custodians | User objects (name, email, location, department) | Populates the Custodian table. Specific OU paths can be provided to limit which users are imported |
| Computer Records | Computer objects in AD | Creates asset records for each computer, with associated departments and locations |
Tip: If your AD contains stale computer objects, turn off Active Directory Get Computer Assets from AD Computers on the Settings tab. Or set Active Directory OUs for Computers to a narrower OU path.
Prerequisites
The integration runs on an xAssets collection server. The collection server reads the directory over LDAP and sends the extract to the application server.
In Active Directory:
- A domain account for xAssets to read the directory. Read access is enough. The integration makes no changes in AD.
- A member of Domain Users can read user and computer objects in a default domain. If an OU restricts read access, grant the account List contents and Read all properties on it.
On the collection server:
- An xAssets collection server that can reach a domain controller on TCP 389 (LDAP). For an
LDAPS://path, TCP 636 is used, and the collection server must trust the domain controller's certificate. - The domain controller name in each LDAP path must resolve in DNS from the collection server.
- A credential pack on that collection server that holds the AD account: the domain in Domain Name, then Username and Password. Select it when xAssets asks for the credentials. With no pack, the reader uses the account the collection server's discovery service runs as. On a domain-joined server running as Local System, that is the computer's own domain account.
In xAssets (Settings tab of the integration, or Admin > Settings, Integrations class):
- Active Directory OUs for Users (
ADUsers) and Active Directory OUs for Computers (ADComputers) hold the LDAP paths to read, one per line. For example:LDAP://dc01.example.local/OU=Staff,DC=example,DC=local. The domain controller in the path is the server the collection server reads from. - A path is read through the collection server named in the ODBC Collection Server setting. To use another one, start the line with
coll=, then the collection server name and a semicolon. - Add a line for each domain or forest to read.
Running AD Integration
Manual Execution
- Navigate to Discover > Integrations. This lists every configured integration, with Start and Setup columns
- Click the Start (play) icon on the Active Directory Integration row to run it now
Configuring the Integration
Click the Setup (pencil) icon on the Active Directory Integration row to open its configuration dialog:

The dialog has three tabs:
- Credentials -- shows the recommended credential type and whether a matching Credential Pack exists. The button reads Create Credential Pack when there is no pack, and Edit Credential Pack when there is one
- Schedule -- add, edit, enable, disable or remove schedules for this integration. A new integration shows "This integration has not been set to run on a schedule" until one is added
- Settings -- the individual settings that control the import. Active Directory Get Computer Assets from AD Computers turns the computer import on or off. Active Directory Get Users from AD User Records does the same for users. Active Directory OUs for Computers and Active Directory OUs for Users limit each import to specific OU paths. Another setting sets the disposal status to apply when an asset leaves AD
Clear Enabled at the top of the dialog to switch the whole integration off.
Scheduled Execution
Once the initial AD integration has been verified, add a schedule on the Schedule tab. New users, department changes, and location updates then reach xAssets automatically.
From the People Menu
The People > Integrations menu runs a user import directly as a batch job. It has Get Data from Active Directory, Get Users from Microsoft Entra, Get Users from Azure Active Directory and Get Users from OKTA.
Settings
These settings are in Admin > Settings. The Settings tab of the integration's Setup dialog lists them too. All but the disposal status are in the Integrations class.
| Setting | Code | Shipped Value | Effect |
|---|---|---|---|
| Active Directory OUs for Users | ADUsers |
Your LDAP paths | The OU paths users are read from, one per line. See Prerequisites |
| Active Directory OUs for Computers | ADComputers |
Your LDAP paths | The OU paths computers are read from, one per line |
| Active Directory Get Users from AD User Records | ADUsersEnabled |
Selected | Imports users as custodians. Clear it to skip the user import. Users are also skipped while Active Directory OUs for Users is blank |
| Active Directory Get Computer Assets from AD Computers | ADComputersEnabled |
Selected | Imports computers as assets. Clear it to skip the computer import and the disposal step. Computers are also skipped while Active Directory OUs for Computers is blank |
| Build the Location Hierarchy from AD OUs | ADLocations |
Selected | Builds the location tree from the OU structure. Each user's Based At location and each computer's location are set from its OU. Clear it to leave locations as they are in xAssets |
| Include Domain in AD User Import | ADUserIDIncludeDomain |
Selected | Puts the domain in front of each user ID, for example DEV\paul.lambert. This matches the logins that single sign-on and discovery report. The SCCM and Entra user imports read this setting too |
| Use the User Principal Name from AD as the UserID to match Discovered UserIDs | ADUserUsePrincipalName |
Cleared | Uses the user principal name (paul.lambert@company.com) as the user ID. A user with no principal name keeps the account name. Cleared, the user ID is the account name (sAMAccountName) |
| Active Directory Status to Set When an Asset is Removed From AD (Disposal and Transfers class) | ADDisposal |
8 (Written off or Scrapped) |
The status given to an in-service asset whose computer has left AD. The asset must have come from AD. Discovery must not have seen it in the last 30 days, or it must have no primary IP address. Its disposal date is set to today. If the computer comes back into AD, the asset returns to In Service and its disposal date is cleared. Blank turns off disposal and its reversal |
| Custodian Authority - Active Directory | CustodianMatch_AD |
AddEdit |
Whether the integration can add and edit custodians. See Custodian Matching and Integration Authority |
Other Integrations
Discover > Integrations lists every integration with the same Start and Setup columns. It also shows Help, Last Run, Last Error, Enabled and Schedule. Help opens the integration's help page. The same list is the Integrations tab of the Discovery Dashboard. The list includes:
- SCCM Integration, Intune Integration and Windows Autopilot Integration
- Azure Active Directory Integration, Azure Integration - All, Azure Integration - Servers, Azure Integration - Services, Azure Licensing Integration and Entra Security Integration
- Amazon Web Services Integration and Google Cloud Integration. See Google Cloud
- Jamf Integration, Kandji Integration, Meraki Integration, Tanium Integration and Ivanti Discovery Integration
- OKTA Integration and HP Web JetAdmin Integration
- Retrieve Dell Warranty Details and Retrieve Lenovo Warranty Details
- ServiceNow Integration, ServiceNow Integration - Push to CMDB and JIRA Service Desk Integration
- SCIM Provisioning
Each Setup dialog has the same Credentials, Schedule and Settings tabs. Disabled integrations are in the Disabled Integrations view of the list.
Tips
- Run AD integration before your first network discovery. This pre-populates locations and users, so discovered computers match to them
- After running AD integration, review the location hierarchy and departments against your real-world structure
- If locations from AD do not match your physical locations, you can edit or reorganize them in xAssets without affecting the AD source
- Schedule AD integration to run before scheduled network discovery, so discovery has current user and location data to work with
Related Articles
- Setting up Reference Data - managing locations, IP ranges, and other classification data
- Discovering the Network - running network discovery after AD integration
- Preparing for Discovery - configuring IP ranges and locations