Bulk User Creation in Active Directory via CSV Import

    Note: The following information conveys the mandatory and useful guide lines for successful creation on users by importing from CSV. List of LDAP attributes supported.  Sample CSV file.

    Bulk user creation by CSV

    To create a user, any one of the following naming attributes is mandatory and enough: givenName.

    To have Useraccountcontrol attribute in CSV : Useraccountcontrol should contain the flag value of the user account properties. Example: A flag value 512 indicates that the account is general; and value 514 indicates that the account is disabled.
    For detailed information, click http://support.microsoft.com/kb/305144

    While specifying the password you will be prompted to choose one of the two options:

    1. Selecting the option User must change password at next logon will assign a value 0; to pwdLastSet
    2. Unselecting the option, User must change password at next logon will assign a value -1 to pwdLastSet<

    To have  memberOf attribute in CSV : A user can be a member of more than one group, to support multiple values Distinguished Name (DN) of the groups should be separated by semicolon (;).
    Example:"CN=Group1,CN=Users,DC=domain,DC=com;CN=Group2,CN=Users,DC=domain,DC=com"

    To have  primaryGroupID attribute in CSV For a user in multiple groups only one group is considered as primary; to specify that RID should be assigned.

    AccountExpires: While specifying the account details, you will be prompted to choose one of the two options:

    1. Selecting the option Account Never Expires will assign a value 0 to Accountexpires.
    2. To have a expiry date set a date specify the file time. Other values should be in the FileTime format(Contains a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).)

    To have userWorkstations attribute in CSV  To restrict users to specific computers the NetBIOS names of computers should be entered separated be commas (,).  

    To have 'Country' attribute in CSV

    1. The three values c, co, countryCode are mandatory.
    2. c - 2 letter country code (eg. US for United states).
    3. co - Country Name (Full Country Name).
    4. countryCode - 3 digit country code (eg. 840 for United States).

    To have manager attribute in CSV: CSV should contain the DN of the manager.

    To have Password attribute in CSV: CSV should contain the header 'password'.

    To have MailBox Enabled Users attribute in CSV: CSV should have

    1. Minimum Attributes Needed - mailNickame, homeMDB, msExchHomeServerName.
    2. homeMDB - should contain the DN of the mail box store. example:  CN=Mailbox Store (EMP-EX03),CN=First Storage Group,CN=InformationStore,CN=EMP-EX03,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=xchange,DC=com   
    3. msExchHomeServerName - value of mail server in legacyExchangeDN Format. example: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ADMP-EX07

    To have Mail Enabled Users attribute in CSV: CSV should have

    1. Minimum Attributes Needed - mailNickname, targertAddress, msExchAdminGroup
    2. targertAddress - value should be something like(SMTP:user@yahoo.com)
    3. msExchAdminGroup- value of exchange Admin Group in legacy ExchangeDN Format. example: /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)

    To have attributes Home Folders and Profile Path, TS Home Folder, ProfilePath in CSV

    1. The values can be an absolute path of the folder
    2. May contain variables like %userName%, %givenName% etc..

    To have Additional email address

    1. The user should have the attribute 'proxyAddresses' set to a value.
      Example - "smtp:user@mail1.com;smtp:user@mail2.com"

    To have Additional Attributes

    Select the 'Custom Attributes' tab to add additional attributes. Enter the exact Attribute name and value.
    Example: If you wish to have employeeID in user attributes, then enter 'employeeID' as the Attribute name and enter the value. This will add that attribute in to the user account properties and the information can be obtained from Reports.

    User creation by Template

    1. A user can be created by selecting the predefined templates available in the option "selected Template"
    2. By selecting a template, all the properties of the template will be applied to the users being created.
    3. By clicking in 'change' you can change the template from mail enabled users to mailbox enabled users etc.
    4. A set of users with common properties can be created by using the specific template.Creating user template

    Example: If your intention is to create user accounts with mailbox for permanent employees, you can select the template 'MailBox Enabled Users' and start creating accounts. All the users created eventually will bare the same properties.

    style="border-spacing: 0px;"

    Note: First create a CSV with all the updated information and then start the process.

    Don't see what you're looking for?

    •  

      Visit our community

      Post your questions in the forum.

       
    •  

      Request additional resources

      Send us your requirements.

       
    •  

      Need implementation assistance?

      Try onboarding