Enable AD User Account activity

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The Enable AD User Account activity enables a Windows Active Directory user account, making it active.

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

    Input variables

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

    Output variables

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

    Conditions

    Tableau 3. Enable AD User Account conditions
    Condition Description
    Success AD user account was successfully enabled.
    Failure An error occurred while attempting to enable the AD user account. Additional details may be available in the workflow log.