Skip to main content

Task Active Directory - Create AD Object​

The Create AD Object Task creates a computer or an organizational unit in an Active Directory container.

Create AD Object tab with the Credentials list, Parent path, Type and Name

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Create AD Object tab​

  • Credentials: the Credential that the Task uses to connect to Active Directory; see Global - Credentials. Click the Settings icon to open Manage credentials

    With "No Credential", the Task connects as the account that the VisualCron Server service runs as. The account that is used needs permission in Active Directory for what the Task does.

    When the selected Credential has been deleted, the Task fails, but it may already have carried out the change as the account of the VisualCron Server service.

  • Parent path: the LDAP path of the container to create the object in, for example LDAP://OU=<unit>,DC=<domain>,DC=<suffix>. Click Select container to pick it

  • Type: "Computer" (default) or "Organization Unit"

  • Name: the name of the new object. A computer is created as CN=<name> and an organizational unit as OU=<name>

Output and errors​

The Task writes no output. When Active Directory rejects the request, for example because the account does not have permission or the object does not exist, the Task fails with the error that Active Directory returns.