Active Directory Admin icon

Active Directory Admin

Perform administrative operations on Active Directory via LDAP/LDAPS

User → Set Attributes

AI-generated

Summary

Set or modify attributes of an Active Directory user identified by their distinguished name (DN).

Inputs

  • Distinguished Name (required) — Full distinguished name (DN) of the user whose attributes will be set.
  • Attributes (required) — List of one or more attributes to modify, each with an AD attribute name, a list of values, and an operation (Add, Delete, or Replace) to perform on those values.
  • Continue on Error — Whether to continue processing subsequent items if an error occurs during this operation.

Output shape

a list of results corresponding to each input item, each containing a JSON object with success status and details about the attribute modifications performed.

The output includes the distinguished name, count of modified attributes, and for each attribute the name and operation performed. Errors can be included if 'Continue on Error' is enabled.

Examples

Example 1: Set multiple attributes on a user to add phone numbers and replace their office location.

Provide the user's DN, then add multiple attributes with 'Add' or 'Replace' operations specifying the attribute names and values.

Discussion