Actions25
- User Actions
- Group Actions
- Organizational Unit Actions
- Audit Actions
User → Create
AI-generatedSummary
Create a new user in Active Directory with specified identifying and account properties.
Inputs
- cn (required) — Full name of the user (Common Name) that will be escaped automatically.
- parentOuDn (required) — Distinguished Name (DN) of the parent Organizational Unit (OU) where the user will be created.
- samAccountName (required) — User's login name, maximum 20 characters without spaces.
- upn (required) — User Principal Name in the format user@domain.tld.
- initialPassword (required) — Initial password for the account, must comply with Active Directory password policies.
- firstName — User's first name (Given Name); if omitted, it is automatically extracted from the CN.
- lastName — User's last name (Surname); if omitted, it is automatically extracted from the CN.
- pwdMustChange — Boolean flag to force the user to change the password at next login (default true).
- enableImmediately — Boolean flag to enable the account immediately after creation (default true).
- continueOnFail — Boolean flag to continue processing other items even if creation fails for one (default false).
Output shape
a single JSON object indicating success and details of the created user
The output includes the created user's distinguished name (DN), sAMAccountName, userPrincipalName, enabled status, and whether a password change is required at next logon. Errors during creation are thrown unless 'Continue on Error' is enabled, in which case error details are returned per item.