Which runs first RemoveFromAllGroups or AddToGroup? Sep 21, 2017 Active Directory, AD Bulk Users You may need to remove users from all groups before adding them to a new group, for this reason RemoveFromAllGroups runs first followed by AddToGroup.