Unlock AD Account

The Unlock AD Account activity unlocks a locked Active Directory user account.

You can use the Is AD Account Locked activity to determine if an account is locked.

To access this activity in the workflow editor, select the Custom tab, and then navigate to Custom Activities > Active Directory.
Note: This activity replaces an AD activity by the same name available in releases prior to Geneva. If you have a workflow created in a previous version that uses the deprecated activity, your workflow will continue to work normally after upgrading to Geneva. However, all new workflows must use the custom version of this activity, which was built with the Powershell activity designer.

Input variables

Table 1. Unlock AD Account input variables
Variable Description
DomainController IP address of the domain controller machine.
User The sAMAccountName of the Active Directory user account.

Output variables

Table 2. Unlock AD Account output variables
Variable Description
result Either success or failure.
errorMessage The executionResult.errorMessages from the Activity designer parsing sources.

Conditions

Table 3. Unlock AD Account conditions
Condition Description
Success The account was successfully unlocked.
Failure An error occurred while attempting to unlock the account. Additional details may be available in the workflow log.