Task Active Directory - Create AD User
The Create AD User Task creates a user in an Active Directory container and sets the user's password and account options.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
Create AD User tab
The Credentials list is above the General and Login details sub tabs.
General sub 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 user in, for example
LDAP://OU=<unit>,DC=<domain>,DC=<suffix>. Click Select container to pick it -
First name: the user's first name
-
Initials: the user's initials
-
Middle name: the user's middle name
-
Last name: the user's last name
-
Full name: the user's display name. It is required. The Client does not fill it in from the other names, so type it
Check the new user in Active Directory after the Task runs: the first, middle and last name, initials, full name, e-mail address and user logon name may not be set.
Login details sub tab

- User logon name (@domain is allowed): the user's logon name, for example
<name>@<domain>. It is required. The Task also uses this value, as typed, as the name (CN) of the new user object - User logon name (pre-windows 2000): the pre-Windows 2000 logon name. The Client does not fill it in from User logon name, so enter it
- Password: the initial password. The box shows the password as it is typed; the Task stores it encrypted
- Email: the user's e-mail address. It is required
- User must change password at next logon: the user must change the password at the next logon
- User cannot change password: the user cannot change the password. Do not combine it with User must change password at next logon
- Password Never Expires: the password does not expire
- Account is disabled: the account is created disabled
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.
Troubleshooting
Error 0x80072035
Active Directory returns error 0x80072035 ("The server is unwilling to process the request") when the password does not meet the domain's password policy, for example its length, complexity or password history rules. Use a password that meets the policy.
When this error occurs, the user has already been created without the password. Delete the user, or reset the password with Task Active Directory - Modify AD User, before you run the Task again.