SharePoint Workflow. SharePoint 2010 and 2019 Workflow - VirtoSoftware

Create user in Active Directory

This activity allows creating user in Active Directory.

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 Name Value
sAMAccountName Login property value without domain. userlogin@yourdomain.local
userPrincipalName Login property value. userlogin@yourdomain.local
sn LastName property value.
givenName FirstName property value.
displayName Auto. “[FirstName] [LastName]“

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.


Parameter Description
this path Correct LDAP path to folder. Ex: “OU=TestOU,DC=yourdomain,DC=local”. Use Active Directory Explorer ( to get correct path.
this logon name User login name with domain. Ex: userlogin@yourdomain.local, yourdomain\userlogin
this first name First name
this last name Last name
this password Optional. User password