Active Directory: Add user to group

Add a user to a security group.

Help Centre › Building Processes

Add a user to a security group.

Add it to a process

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

Fields

FieldRequiredWhat it does
NameYesConnection name
Group DNYesThe distinguished name of the group
User DN to addYesThe distinguished name of the member to add or remove

See all Active Directory steps.

Errors

ErrorDescription
Connection not foundNo connection exists with the specified name
Group not foundNo group was found with the specified DN
User not foundNo user was found with the specified member DN
Already a memberThe user is already a member of the specified group

Tips

  • Use ad-get-user to resolve a DN from a username before adding to a group

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.