Contact us
View as Markdown
Ask AI

Open this page in an AI assistant with a ready-made prompt.

Opens a third-party service and shares a pre-filled prompt containing this public page URL, its product documentation URL and /llms.txt. No VirtoSoftware account or tenant data is included. Provider terms and privacy policies apply. Verify answers against the linked documentation.

OpenAI terms · OpenAI privacy policy · Anthropic terms · Anthropic privacy policy

Create user in Active Directory

This activity allows creating user in Active Directory.

Create user in Active Directory workflow activity in the SharePoint workflow designer

Activity creates user in Active Direcotry and initializes sAMAccountName, userPrincipalName, sn, givenName, displayName, userAccountControl properties. You can set additional properties via “Set user’s custom attribute in Active Directory” activity.

AD Property NameValue
sAMAccountNameLogin property value without domain. userlogin@yourdomain.local
userPrincipalNameLogin property value. userlogin@yourdomain.local
snLastName property value.
givenNameFirstName property value.
displayNameAuto. “[FirstName] [LastName]“
userAccountControlADS_UF_NORMAL_ACCOUNT| ADS_UF_DONT_EXPIRE_PASSWD

By default, activity uses the current user when authenticating. If you want to use custom

authentication, use “Set Active Directory authentication” activity before.

SharePoint Workflow Designer Phrase

Create in this path, new user with logon name this logon name, first name this first name, last name this last name and password this password.

Parameters

ParameterDescription
this pathCorrect LDAP path to folder. Ex: “OU=TestOU,DC=yourdomain,DC=local”.Use Active Directory Explorer (http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx) to get correct path.
this logon nameUser login name with domain. Ex: userlogin@yourdomain.local,yourdomain\userlogin
this first nameFirst name
this last nameLast name
this passwordOptional. User password
Updated on August 12, 2026