Detect duplicate accounts during user import
15 January 2026
Run the import as a comparison before allowing it to create, merge or change accounts. Match each incoming record against an authoritative directory identifier. An email written in two different ways is a lead to investigate. Two people with the same name and department may still need completely separate accounts.
Separate duplicate rows from distinct people
Suppose a permitted test CSV has the following rows. Here the key comes from the same authoritative directory for every record. Record that source alongside the key, because two different directories may both issue the same short identifier.
| Incoming observation | Directory evidence | Proposed action in the dry run |
|---|---|---|
| Two rows vary only in the casing of the address | The directory maps both rows to one person under key A17 | Group the pair. If other fields agree, retain one proposed update and record both source rows. |
| Two people share a display name and department | Keys B19 and B42 resolve to distinct directory records | Compare each person with their own existing account and keep the records separate. |
| An additional row claims B42 but its address belongs to B19 | The incoming row and directory disagree | Hold this row. Do not overwrite B19 or merge it with B42. |
Normalise comparison fields only according to the directory’s documented rules. Preserve the input spelling for investigation. Even when keys agree, conflicting roles or manager approvals need separate resolution before applying an update.
Give the directory owner an actionable exception
Return the unresolved row number, the claimed key, the conflicting directory references, and the proposed write that was stopped. Limit that report to authorised reviewers. Ask the directory owner to confirm the authoritative identifier or correct the source feed, then rerun the same comparison. An invented alternative username merely conceals the conflict.
Check the planned writes before import
Reconcile input rows against proposed creates, updates, duplicate rows and holds. A person whose identity is clear may still lack approval for workspace access. The account lifecycle runbook separates an approved joiner request from provisioning and checking the resulting permissions. Release only approved changes and retain the dry-run result that explains each one.
Part of the Plan user provisioning and offboarding in a PDF platform guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
