---
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


---

# Is AD Account Locked activity

# Is AD Account Locked activity {#ariaid-title1}

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

The Is AD Account Locked activity determines whether an Active Directory user account
is locked.
An account may be locked automatically if a user enters an incorrect password more times
than allowed by the Active Directory security policy. You can unlock an account using the
[Unlock AD User Account](https://servicenow-prod.fluidtopics.net/U8nsI2B4J15oiw125UJHkA "The Active Directory (AD) activity pack enables an administrator to create, delete, and manage objects in Windows Active Directory, such as users, groups, and computers, using a ServiceNow Orchestration workflow.") activity.  
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_IsADAccountLocked__table_j2b_rnh_dp__entry__2}

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

{#r_IsADAccountLocked__table_j2b_rnh_dp}

## Output variables

{#r_IsADAccountLocked__table_gpk_jzz_ss__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."). |
| output | The query result. |
[Tabelle : 2. Is AD Account Locked output variables]

{#r_IsADAccountLocked__table_gpk_jzz_ss}

## Conditions

{#r_IsADAccountLocked__table_bt2_nzz_ss__entry__2}

| Condition | Description |
|-|-|
| Locked | The AD account is locked. |
| Unlocked | The AD account is unlocked. |
| Failure | An error occurred while processing the query. Additional details may be available in the workflow log. |
[Tabelle : 3. Is AD Account Locked conditions]

{#r_IsADAccountLocked__table_bt2_nzz_ss}

