Skip to content

Create Bulk Users (Import) in Active Directory

The Create Bulk Users tool lets you easily mass import user accounts into Active Directory from a csv file. You can import a single account, 100 or 1000s at once. You can also export accounts from one domain and import them into another AD environment.

  • Import users from csv
  • Included csv template with 34 user properties (you can add more if needed).
  • Add users to groups
  • Import into an OU
  • Set manager
  • Set name format
  • Require password change at next logon
  • Create your own csv templates
  • Set proxyaddresses
  • Enable or disable accounts

Step 1. Click on “Create Bulk Users (Import)

click on import users

Step 2. Click on Download CSV Template

download csv template

Step 3. Modify the CSV template with details about the users you want to create.

Required Columns:

  • SamAccountName = This will be the users logon name.
  • password = users password. Make sure it meets your password requirements.
  • givenName = First name
  • sn = Last name

CSV Example:

csv user import example

Save your template.

Step 4. Click “Browse” and select your csv file

click browse

Step 5. Select Import Options

  • Enable: This will enable or disable the account when it is created (enabled by default)
  • User must change password at next logon: This option will require users to change their password at first logon.
  • Password never expires: Set the user account password to never expire
  • Name format
    • FirstName LastName: Sets the name format to FirstName + LastName
    • LastName, FirstName: Sets the name format to LastName, + FirstName
    • Same as user logon name: Sets the name format to logon name (samaccountname)

Step 6. Click “Run”.

click run

Review logs to verify that all account imported with no errors.

You can add additional user attributes to the CSV file; you just need to know the LDAP name. You can find the LDAP name by opening the attribute editor in Active Directory Users and Computers. You could also use PowerShell to list all user account properties.

To see the attribute editor, you first need to enable the advanced features in Active Directory Users and Computer

Step 1. Click view from the top menu then select advanced features.

advanced features

Step 2. Now when you open an account you will see the attribute editor tab.

attribute editor

The attribute editor screen will show you all the user LDAP properties.

Step 3. Now just find the attribute name and add it to the CSV.

Example, I’m adding the adminDescription attribute to the csv template.

add new attribute

All done. That is how you add additional attributes to the CSV file to import with new accounts.

The csv file uses the LDAP name which can be different than the fields you see in Active Directory users and computers.

For example, in the csv to set the users First name you would enter that in the givenName column. Below are some screenshots that show the ldap to Active Directory names.

general tab

Address tab

account tab

profile tab

telephone tab

Organization tab

LDAP NameActive Directory FieldDescription
sAMAccountNameUser logon name (pre-windows 2000)This will be the user’s logon name
passwordN/AThe user’s password
ouN/AThe distinguishedName of the OU to import the user to
memberof(Group membership)The groups you want the user added to
userPrincipalNameUser logon nameThe user’s logon name in email format (user@domain)
givenNameFirst nameThe user’s first name
initialsinitialsThe user’s initials
snLast nameThe user’s last name
displaynameDisplay nameThe user’s full display name as shown in AD
descriptiondescriptionThe description field on the General tab
physicalDeliveryOfficeNameOfficeThe office field on the General tab
telephoneNumberTelephone numberThe user’s primary telephone number
mailE-mailThe user’s email address
wwwHomepageWeb pageThe user’s web page/URL
streetAddressStreetThe user’s Street address on the Address tab
postOfficeBoxP.O BoxThe user’s P.O. Box number
lCityThe user’s city on the Address tab
stState/provinceThe user’s state or province
postalCodeZip/Postal CodeThe user’s postal or ZIP code
cCountryThe user’s country code (e.g., US, CA, GB)
profilePathProfile pathPath to the user’s roaming profile
scriptPathLogon scriptLogon script executed when the user logs on
homeDirectoryHome folder > local pathThe path to the user’s home directory
homePhoneHomeThe user’s home phone number
mobileMobileThe user’s mobile phone number
ipPhoneIP phoneThe user’s IP/VoIP phone number
titleJob TitleThe user’s job title
departmentDepartmentThe user’s department
companyCompanyThe user’s company name
employeeidN/AA unique employee ID number
employeenumberN/AAnother employee number field used by some organizations
managerManagerThe logon name of the user’s manager
proxyAddressesN/AEmail aliases and proxy addresses (e.g., SMTP:user@domain.com)