Active Directory Admin icon

Active Directory Admin

Perform administrative operations on Active Directory via LDAP/LDAPS

Organizational Unit → Create

AI-generated

Summary

Create a new Organizational Unit (OU) in Active Directory under a specified parent distinguished name (DN), optionally including a description.

Inputs

  • OU Name (required) — Specifies the name of the new Organizational Unit to create.
  • Parent DN (required) — Defines the distinguished name of the parent container under which the OU will be created.
  • Description — An optional textual description for the Organizational Unit.
  • Continue on Error — Determines whether to continue processing other items if creating this OU fails.

Output shape

a single JSON object per input item

The output contains fields indicating success, the DN of the created OU, and any returned result data from the Active Directory server. Errors will throw exceptions unless 'Continue on Error' is set to true, in which case error details are returned within the JSON output.

Examples

Example 1: Create a Sales OU under the domain root with a description

Set 'OU Name' to 'Sales', 'Parent DN' to 'DC=example,DC=local', and 'Description' to 'Sales department'.

Discussion