Active Directory: Search directory

Search Active Directory with an LDAP filter.

Help Centre › Building Processes

Search Active Directory with an LDAP filter.

Add it to a process

In the process designer, open the Add step tab. Find Search directory under Active Directory › Search & Auth, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Connection nameYesConnection name
LDAP filterYesLDAP search filter
VariableYesName of the variable where the result will be stored Default: results.
Search base DNNoOverride base DN for this search
Attributes (comma-separated)NoAttributes to return
Max results (0=unlimited)NoMaximum results (0 = unlimited) Default: 0.

What it gives back

  • {results} – List of matching entries

See all Active Directory steps.

Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
Invalid filterThe LDAP filter string is not valid

Tips

  • Use compound LDAP filters like (&(objectClass=user)(department=IT)) to narrow results
  • Limit the attributes list for better performance when you only need specific fields

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.