Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Add User to Group AD activity

The Add User to Group activity adds a user to a group in Windows Active Directory.

To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom Activities > Active Directory.

Input variables

VariableDescription
DomainControllerIP address of the domain controller machine.
UserNameName of the user to add to the group.
GroupNameName of the group to which this user is added.

Output variables

VariableDescription
resultEither success or failure.
errorMessageThe executionResult.errorMessages from the Activity designer parsing sources.

Conditions

ConditionDescription
SuccessUser was successfully added to group.
FailureAn error occurred while attempting to add the user to the group. Additional details may be available in the workflow log.

Parent Topic:Active Directory activity pack