Disable AD User Account activity

reference australia Updated Sep 10, 2026 1 min read r_DisableADUserAccount.md
Raw file servicenow.com

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 Activities > Active Directory.

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

Variable Description
DomainController IP address of the domain controller machine.
User The sAMAccountName of the Active Directory user account.

Output variables

Variable Description
result Either success or failure.
errorMessage The executionResult.errorMessages from the Activity designer parsing sources.

Conditions

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.

Parent Topic:Active Directory activity pack

Search documentation
Search document titles and file paths on the australia branch