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


---

# Disable AD User Account activity

# Disable AD User 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 Disable AD User Account activity disables a Windows Active Directory user account,
making it inactive.
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_DisableADUserAccount__table_a1t_fmh_dp__entry__2}

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

{#r_DisableADUserAccount__table_a1t_fmh_dp}

## Output variables

{#r_DisableADUserAccount__table_wg4_zsz_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."). |
[Tabelle : 2. Disable AD User Account output variables]

{#r_DisableADUserAccount__table_wg4_zsz_ss}

## Conditions

{#r_DisableADUserAccount__table_k1j_ctz_ss__entry__2}

| Condition | Description |
|-|-|
| Success | AD user account was successfully disabled. |
| Failure | An error occurred while attempting to disable the account. Additional details may be available in the workflow log. |
[Tabelle : 3. Disable AD User Account conditions]

{#r_DisableADUserAccount__table_k1j_ctz_ss}

