Skip to main content

Task Active Directory - Rename AD Object​

The Rename AD Object Task renames an Active Directory object.

Rename AD Object tab with the Credentials list, Parent path, the Select object and Select container buttons, and New name

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

Rename 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: despite its label, the LDAP path of the object to rename itself, not of its container, for example LDAP://CN=<name>,OU=<unit>,DC=<domain>,DC=<suffix>. Click Select object to pick the object. Select container puts the path of a container in the field instead

  • New name: the new name, without a prefix. The object keeps the type of its name, for example CN= or OU=. For a user, only the common name (CN) changes, not the logon names

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.