Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Remove AD Object activity

The Remove AD Object activity deletes an object from Windows Active Directory.

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

VariableDescription
DomainControllerIP address of the domain controller machine.
ObjectNameThe sAMAccountName of the Active Directory object.
TypeThe object type to remove: - user - group - computer

Output variables

VariableDescription
resultEither success or failure.
errorMessageThe executionResult.errorMessages from the Activity designer parsing sources.

Conditions

ConditionDescription
SuccessAD object was successfully removed.
FailureAn error occurred while attempting to remove the AD object. Additional details may be available in the workflow log.

Parent Topic:Active Directory activity pack