Q&A-1Design identity correlation across authoritative and target systems.
Answer
Assumptions I'd state up front: one authoritative HR system (Workday) owns employment state; targets are Entra ID, a set of SaaS apps synced over SCIM 2.0 (RFC 7643/7644), and one legacy LDAP app; ~40,000 employees; targets are eventually consistent and can lag the source by hours.
Core answer. Correlation is a mapping problem, not a matching problem. Mint one internal identity ID per person (a UUID you generate, never derived from any attribute) and keep one mapping row per (identity, target system, target resource ID). The authoritative system supplies the anchor (Workday Worker ID). Each target supplies its own immutable handle: Entra ID objectId, SCIM id, LDAP entryUUID. Email, username and display name are attributes with a lifecycle; they get reused, so they never key anything.
A mapping row carries: identity_id, target_system, target_resource_id, source_system, source_record_id, link_method (auto_exact / auto_fuzzy / human), confidence, status (active / pending / disabled / orphaned), valid_from, valid_to, last_reconciled_at. valid_to is what makes rehire and split representable instead of destructive.
Matching is a cascade, not one comparison.
| Tier | Signal | Action |
|---|---|---|
| 1 | Stored mapping exists for this identity + target | Update in place |
| 2 | Exact match on authoritative ID carried as SCIM externalId or SAML persistent NameID | Auto-link |
| 3 | Exact match on employee number + date of birth | Auto-link, flag for audit |
| 4 | Fuzzy: normalized name + DOB + manager, score ≥ 0.95 | Auto-link |
| 5 | Score 0.80–0.95 | Human review queue |
| 6 | Score < 0.80 | Create a new identity |
Those thresholds are illustrative; tune them against a labelled set of your own past merges.
Why correlation drifts. Renames change the attributes you were tempted to key on. Rehires produce a new authoritative record for the same human. Mergers and acquisitions bring a second HR source with its own numbering. Delayed target creation means the target record does not exist yet when the source event arrives, so the link is written later, or never. Each of these is a provenance change, and the mapping row is where you record it rather than overwrite it.
Trade-offs. Deterministic matching (tiers 2–3) is cheap, auditable and explainable; it fails on records with no shared authoritative ID, which is exactly the M&A and contractor case. Fuzzy matching covers those but produces false merges, and a false merge is worse than a duplicate: it hands one person another's group memberships and file access. So fuzzy auto-link only above a high threshold, human review in the band, and never fuzzy-match across tenants: a cross-tenant identifier collision should be a hard stop, not a score. Auto-merge is right for tier 2; human-in-the-loop is right for tier 5 and for every split.
Failure modes and detection. Reused address: a new hire inherits a leaver's mailbox. Detect by asserting the target account's createdDateTime is after the leaver's valid_to. Duplicate employee numbers across two HR sources: detect by a uniqueness constraint on (source_system, source_record_id) plus a periodic duplicate scan. Delayed target creation: detect by a reconciliation job that alerts when any active identity has no mapping row for a target after 24 hours. Cross-tenant identifiers: detect by scoping every query by tenant and failing closed on a missing tenant claim.
Arithmetic. 40,000 employees at 8% turnover is 3,200 leavers a year. If 1% of their addresses are reissued within 12 months, an email-keyed design silently merges ~32 new hires a year into departed employees' accounts. That is the number that pays for the mapping table.
Trace: rehire. Ana leaves 2024-03: identity 7f3a…, Entra objectId A1, Worker ID 10042, mapping row closed with valid_to. In 2025-01 Workday creates Worker ID 20877 for her, new address ana.rossi2@corp. Tier 1: no mapping for 20877. Tier 2: no externalId. Tier 3: employee number differs. Result: new identity, new target account; the old identity stays disabled with its history intact. An email-keyed design would have matched nothing here and been fine, but had the address been reissued to a different person, it would have merged them into Ana's account. The mapping table makes both cases the same code path.
Run a nightly full reconciliation plus event-driven deltas, and alert if any target has not reconciled in 24 hours.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.