Remove User from Group AD activity

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • The Remove User from Group activity removes a user from 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

    Table 1. Remove User from Group input variables
    Variable Description
    DomainController IP address of the domain controller machine.
    UserName Name of the user to remove from the group.
    GroupName Name of the group from which this user is removed.

    Output variables

    Table 2. Remove User from Group output variables
    Variable Description
    result Either success or failure.
    errorMessage The executionResult.errorMessages from the Activity designer parsing sources.

    Conditions

    Table 3. Remove User from Group conditions
    Condition Description
    Success User was successfully removed from the group.
    Failure An error occurred while attempting to remove the user from the group. Additional details may be available in the workflow log.