Bulk User Creation in Evidence Collaboration

Modified on: Tue, 2 Jun, 2026 at 6:52 AM

Administrators can create multiple user accounts at once using a CSV file. This workflow streamlines onboarding for teams, departments, and entire organizations. Passwords may be included in the CSV or left empty. If left empty, the system creates the user without password blocking each login until the password is either set by an administrator or by the user via the Forgot Password function.


Important: The Forgot Password flow requires a working mail server configuration. See 4.3 Mail Server Requirement before importing passwordless users.

1. Overview

Bulk user creation enables administrators to:

  • Upload a CSV file containing multiple user records
  • Specify passwords manually or rely on automatic password generation
  • Include optional metadata such as job titles and organizational units

All accounts created through CSV import are assigned the Default User role automatically.


Passwords generated by the system are not displayed to administrators.


2. Preparing the CSV File

CSV files used for bulk user creation must use the following snake_case column names:


ColumnRequiredDescription
first_nameYesFirst name of the user
last_nameYesLast name of the user
emailYesEmail address used for password resets
usernameYesUsername used for login
organizational_unitNoOptional organizational unit or department
job_titleNoOptional job title or role label
passwordNoPassword; leave empty to generate it later by the user or the 


Field behavior

  • password empty → an unusable password is set by the framework
    The account is created with an unusable password (Django). The user cannot log in until either:
    • they set a password via Forgot Password (mail server required), or
    • an administrator sets a password and shares it externally.
  • job_title empty → User is created without a job title
  • organizational_unit empty → User is created without an OU
  • All CSV-created accounts become Default Users



CSV separator: Use a semicolon (;) as the field delimiter.

Some editors (e.g., LibreOffice) may change delimiters automatically if multiple separators are configured. When exporting/saving as CSV, explicitly select “;” to avoid import errors.

3. Creating Users from a CSV File

The CSV upload dialog allows administrators to create multiple users in a single step.


3.1 Opening the CSV Upload Dialog

  1. Navigate to System Settings.
  2. Select Users


  3. Open the Upload CSV dropdown.


  4. (Recommended) Choose CSV Sample to download a correctly formatted CSV template or download the sample attached to this article.


3.2 Uploading a CSV File

  1. Open the Upload CSV dialog.
  2. Upload your CSV by:
    • selecting it via the file explorer, or
    • dragging and dropping the file into the dialog window
  3. Once the file is added, choose one of the following:
    • Upload file — begins the creation process
    • Upload different file — clears the current file to upload another

3.3 Processing the File

  1. Click Upload file to start the import.
  2. The system displays a message indicating:
    • how many users were created
    • how many user records failed (if any)
  3. If any records fail, an additional window lists each failed entry and the related error message.
  4. If all records succeed, only the message appears.


4. Password Handling

4.1 If a password is included in the CSV

  • The user account is created with the provided password.
  • This password must be shared with the user outside of the system.


4.2 If the password field is empty

  • The account is created with an unusable password (Django default when no password is set).
  • The user cannot log in until a usable password is set.

First-time login for users without a known password

Option1:

  1. Open the login page.
  2. Click Forgot Password.
  3. Enter their email address.
  4. Complete the password reset process.

Option 2:

An administrator sets a password manually and shares it externally with the user.


4.3 Mail Server Requirement

When a user is created without a password, the user must set their initial password through Forgot Password. This requires the system to send a password-reset email.

  • Ensure the mail server is configured and active before importing passwordless users.
  • If the mail server is not configured, users created without a password cannot log in until:
    • a password is manually assigned and shared externally, or
    • the mail server configuration is completed and a reset email can be sent.


5. Validation and Common Errors

The importer validates each row independently. Errors may occur if:

  • Required fields are missing (first_name, last_name, email, username)
  • Emails are invalid
  • A username already exists
  • CSV column names do not match the expected structure
  • The CSV file uses unsupported formatting
  • Organizational units were not created beforehand

Only valid rows are created. Invalid rows must be corrected and re-uploaded.


6. When to Use Bulk Import

ScenarioRecommended Method
Creating one or two accountsManual creation
Onboarding a team or departmentBulk import via CSV
Creating accounts without assigning passwordsLeave password empty + Forgot Password flow
Migrating users from external systemsBulk import via CSV

7. Best Practices

  • Use the CSV Sample file to ensure correct formatting.
  • Keep organizational naming consistent.
  • Prefer automatic password generation.
  • Instruct users how to log in via the Forgot Password flow.
  • Delete CSV files after import if they contain sensitive data.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.