Active Directory: Create user

Create a new user in Active Directory.

Help Centre › Building Processes

Create a new user in Active Directory.

Add it to a process

In the process designer, open the Add step tab. Find Create user under Active Directory › Users, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
NameYesConnection name
User DNYesThe distinguished name (DN), for example OU=Users,DC=example,DC=com
sAMAccountNameYesThe sAMAccountName for the new user account
First nameNoThe first name (givenName) of the user
Last nameNoThe last name (sn) of the user
EmailNoThe email address (mail) of the user
Initial passwordNoThe initial password for the user account
Additional attributes (JSON)NoAdditional AD attributes as a JSON object
Enable accountNoCreate the user account in an enabled state Default: on.

See all Active Directory steps.

Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
User already existsA user with the specified DN or username already exists
Invalid DNThe specified distinguished name is not valid
Insufficient permissionsThe bound account does not have permission to create users

Tips

  • The DN must include the target OU where the user will be created
  • Set a password to enable the user to log in immediately after creation

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.