---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Unlock AD Account activity

# Unlock AD Account activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The Unlock AD Account activity unlocks a locked Active Directory user account.
You can use the [Is AD Account Locked activity](https://servicenow-prod.fluidtopics.net/8QNj~6729rr_dZcs1wZ_BQ "The Is AD Account Locked activity determines whether an Active Directory user account is 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 ActivitiesActive Directory.  
Hinweis:  
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](https://servicenow-prod.fluidtopics.net/MjnUEg~6RmXMwQSzlAKDTA "PowerShell activities are configured to return data to a workflow from a host using Microsoft PowerShell.").

## Input variables

{#r_UnlockADAccount__table_ybn_brh_dp__entry__2}

| Variable | Description |
|-|-|
| DomainController | IP address of the domain controller machine. |
| User | The sAMAccountName of the Active Directory user account. |
[Tabelle : 1. Unlock AD Account input variables]

{#r_UnlockADAccount__table_ybn_brh_dp}

## Output variables

{#r_UnlockADAccount__table_t2l_5nb_ts__entry__2}

| Variable | Description |
|-|-|
| result | Either success or failure. |
| errorMessage | The executionResult.errorMessages from the [Activity designer parsing sources](https://servicenow-prod.fluidtopics.net/jecuRsCuzIyfFDyPkB_Ehw#r_ActivityDesignerParsingSources "This table lists the parsing sources available with each execution template."). |
[Tabelle : 2. Unlock AD Account output variables]

{#r_UnlockADAccount__table_t2l_5nb_ts}

## Conditions

{#r_UnlockADAccount__table_wpr_ynb_ts__entry__2}

| 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. |
[Tabelle : 3. Unlock AD Account conditions]

{#r_UnlockADAccount__table_wpr_ynb_ts}

