Active Directory Remove Users From Group Action

The Active Directory Add User(s) To Group action allows you to remove one or more users to an Active Directory Group.

![](/images/actions-reference/windows-os/active-directory-administration/Active Directory Remove User(s) From Group-Active Directory Users.png")

Users

Users can be specified as LDAP Distinguished Names, or any valid username format - including simple usernames, Domain\UserName syntax, or User@Domain syntax. The LDAP://domainName/ prefix can be used as well.

Click the Add User(s) button to display a dialog allowing you to search for one or more users to add to the list.

Tip: To remove all of the users from a group, use the %VarName% syntax.

![](/images/actions-reference/windows-os/active-directory-administration/Active Directory Remove User(s) From Group-Group.png")

Group

Specify the name of the group to remove users from. Groups can be specified as a simple group name or an LDAP Distinguished Name.

Fail if any users are not members of the group

Check this box to fail the action if any users are not members of the group. If the action fails for this reason, some other users may have already been removed from the group.

Credentials (Optional)

You can choose to specify a username and password to use when connecting to the Active Directory. If no username is specified, the current Windows credentials will be used.