Skip to main content

HelloID

Task: Add AD user to AD group
Prerequisites
  • Active Directory module

  • Windows Active Directory system

Description

This task adds a member to an Active Directory group. This task can be used as a self-service task. An Active Directory Connection system can be configured in Automation > Systems for defining global variables for Windows Active Directory.

You can specify a domain, or specify a server name to execute your task to run on a specific server. In case no value is found and the system variables are empty. The default domain of the HelloID service

Active Directory Connection system

Name

Description

Type

Example

Comment

Domain

Specify the active directory domain

String

Enyoi.com

Parameter is required.

Server

Specify the active directory server

String

Dc01.enyoi.com

Variables (Add AD user to AD group)

Name

Description

Type

Example

Comment

Group Name

The name of the group.

String

TestGroup

You can identify the group by its distinguished name, GUID, security identifier (SID), or sAMAccountName.

AD User Account

A reference to the user account that is to be added to the group

String

john.doe

You can identify an account by its distinguished name, GUID, security identifier (SID), or sAMAccountName

Domain or

Server

Specify your Domain or Server

String

‘contoso.net’

or

‘DC.contoso.net’

You can specify a child domain or a specific server. If a value is found this will override the Configuration in the Active Directory System.