{% extends 'base.html' %} {% block title %}Import Users – IT Asset Management{% endblock %} {% block breadcrumb %} {% endblock %} {% block content %}
Import from CSV

Upload a CSV file with employee data. The file must include a windows_id column. Additional columns are matched by common aliases.

Recognised column names:
windows_id, first_name, last_name, email, department, job_title, phone, location
(case-insensitive, spaces or underscores)
Sync from Active Directory

Connects to the LDAP/AD server configured in Settings and upserts all matching user accounts. Masked users are never overwritten.

Existing non-masked users will be updated with fresh AD data. New accounts will be created. Masked records are skipped.

Configure LDAP server, bind credentials and base DN in Settings.
CSV Template

Your CSV should look like this:

windows_id,first_name,last_name,email,department,job_title,location
408525,John,Doe,john.doe@company.com,IT,Engineer,HQ
408526,Jane,Smith,jane.smith@company.com,HR,Manager,HQ
{% endblock %}