The interview problem

Practice prompt

A customer wants mandatory enterprise single sign-on within two weeks. Your product has 2,000 active users at that customer: 1,700 employees, 250 contractors and 50 external collaborators. Existing accounts include personal addresses, renamed employees and duplicate profiles. As the forward deployed engineer, plan discovery, account linking, staged enforcement, acceptance and recovery without losing access to existing work.

Original FDE practice, not a reported company interview. Organization, counts and timeline are hypothetical. Interview date not applicable; primary sources retrieved September 27, 2026.

1. Turn the deadline into an explicit scope

Clarify what “mandatory” covers: employee browser login, mobile clients, contractors, collaborators, existing sessions and automation credentials may follow different paths. Discover the current identity provider, product tenant boundaries, administrator roster, account creation rules and termination process. A successful identity-provider redirect does not establish that users reach the correct old account.

Agree that the first enforcement population is the 1,700 employees. The remaining 300 users require an approved separate policy with an owner and review date. They are visible scope decisions, not users omitted from the dashboard. Inventory machine credentials separately because interactive SSO cannot simply replace them.

OwnerDecision or evidence
Customer identity teamIdentity-provider configuration, assignments and identity reconciliation
Customer application ownerCohorts, business workflows and exception approvals
FDEIntegration behavior, migration evidence, rollout and handover
Security ownerAccount-linking policy, recovery authority and session requirements
Support leadVerified escalation route, staffing and recovery rehearsals

Write acceptance criteria before configuring enforcement. Include preservation of the correct user's existing work, expected permissions, failed-login diagnostics and a tested administrator recovery route. A two-week date is a planning constraint, not evidence that unresolved identities can be safely merged.

2. Keep product identity stable

Use an immutable internal user ID for product records and ownership. For this worked design, choose OpenID Connect and map a validated issuer/subject pair within the approved tenant connection to that internal ID. Email is a contact attribute, not an automatic merge key.

approved tenant connection
          + validated issuer and subject
                        ↓
                internal user ID
                        ↓
          tenant membership and permissions
                        ↓
            existing work and application session

OpenID Connect defines issuer plus subject as the stable identity combination; email is not guaranteed unique. Pairwise subject identifiers can also differ across clients. A change of provider, issuer or client configuration therefore needs an explicit migration assessment rather than an assumption that matching email proves continuity.

For example, employee A changes email while retaining the same validated identity. Update the contact attribute without creating another product user. If employee B later receives A's former address, B must not inherit A's work merely because the text of the address matches. If an existing account can be linked through reauthentication of that account plus proof of the approved enterprise identity, record the evidence. Otherwise use a customer-approved identity reconciliation process, with ambiguity routed for review.

Do not automatically merge two internal users during login. A merge may transfer documents, billing ownership or audit history and be difficult to reverse. Keep identity linking and data ownership migration as separate, auditable operations. Make linking atomic and idempotent: within the approved tenant connection, one validated external identity must not race into two internal users. A conflict should stop for review rather than overwrite an existing link. Verified domain ownership does not establish which individual should receive an existing account.

3. Validate the integration boundary

Use a maintained protocol implementation and the provider's supported configuration. Bind responses to the expected tenant connection and login transaction; validate the relevant issuer, audience, signature, expiry and request-binding requirements. Merely decoding a token is not validation. Avoid turning this deployment into a custom authentication-library project.

After authentication, check product membership and authorization. A valid enterprise identity does not automatically grant access to every customer workspace. Keep just-in-time account creation constrained by the agreed provisioning policy so an unresolved existing user does not silently become an empty new account.

Authentication, provisioning and deprovisioning are different processes. Define how assignment changes reach the application, what disables an existing product session and how refresh or remembered-login paths behave. Disabling a user at the identity provider does not by itself prove that an already issued application session has ended.

The example uses OpenID Connect to make identity semantics concrete. A SAML integration needs its own validated subject, assertion and session rules; replacing claim names in this design is not a sufficient migration plan.

4. Reconcile identities before enforcing

Suppose the employee census finds 1,600 verified mappings, 60 ambiguous duplicate cases and 40 employees without the required identity-provider assignment:

employee total = 1,600 + 60 + 40 = 1,700
verified mapping rate = 1,600 / 1,700 ≈ 94.12%
unresolved employees = 100

The 94.12% figure measures mapping progress, not readiness to enforce. A verified mapping still needs a real login and application workflow check. An ambiguous duplicate requires evidence of the correct internal identity; an unassigned employee needs the customer identity team to resolve eligibility and assignment.

Keep a reconciliation ledger with internal user ID, approved identity reference, decision, evidence owner and status. Restrict this ledger appropriately. Do not copy tokens or unnecessary personal information into troubleshooting notes. Record enough to investigate a decision without turning the migration document into a credential store.

Assume duplicate cases take 20 minutes each and assignment cases take 10 minutes each:

duplicate review = 60 × 20 minutes = 20 hours
assignment work = 40 × 10 minutes = 6 hours 40 minutes
total direct work = 26 hours 40 minutes

2 engineers × 4 productive support hours/day = 8 hours/day
minimum direct-work duration = 26⅔ / 8 ≈ 3⅓ days

This excludes customer response delays, retesting, concurrent tickets and contingency. The staffing estimate supports a schedule discussion; it does not prove the two-week deadline is achievable. Resolve high-impact administrator and ownership cases early rather than leaving the hardest identities until the final day.

5. Measure the whole login outcome

Run a pilot with 100 identified employees and a fixed test window. Suppose the first attempt for each produces these mutually exclusive results:

OutcomeUsers
Correct existing account and required workflow92
Identity-provider success, but a new empty duplicate account4
Authentication fails2
Correct identity, wrong application role2
identity-provider authentication success = 98 / 100 = 98%
end-to-end workflow success = 92 / 100 = 92%

Reporting 98% alone conceals account-continuity and authorization defects. Duplicate account creation is a stop condition, not merely a minor reduction in conversion. Keep attempt counts separate from distinct pilot users; repeated retries can make an attempt-level dashboard answer a different question.

Fix the underlying causes and retest the full pilot, including negative cases. Test renamed users, ambiguous duplicates, guests, revoked users, administrators, fresh sessions and expired sessions. Test wrong-tenant responses and rejected assignments as well as successful login. Acceptance requires reaching the expected prior data and performing the approved workflow.

6. Expand by gates, not only by calendar

configuration test → identity reconciliation → optional pilot
                                         ↓
                              enforced cohort of 100
                                         ↓
                              expand to 500 total
                                         ↓
                              add remaining 1,200 employees

The final stage adds 1,200 because the preceding stage has 500 employees in total; the final enforced employee count is 1,700. Cohort sizes are illustrative. Choose them with the customer based on workflow risk, support capacity and representative coverage.

Before each expansion, require resolved identity anomalies, successful critical workflow tests, an on-call customer owner and a usable recovery path. Pause for a cross-account link, wrong-tenant access or critical workflow failure. An aggregate success percentage cannot waive those failures.

Version configuration and identity mappings, record the enforcement decision and monitor failure categories after each step. Temporary exceptions need owners and expiry decisions. An employee who has not logged in recently still belongs in the readiness census; inactivity is not evidence of compatibility.

7. Rehearse recovery before it is needed

A customer-approved emergency administrator route should survive the failure it addresses. If both the recovery credentials and the runbook are accessible only through the broken identity provider, the recovery plan has a circular dependency. Use strong authentication, protected custody, appropriate authority, monitored use and regular exercises.

Microsoft's emergency-access guidance motivates these principles in its own environment. Do not blindly transplant its specific administrative roles or policy exclusions into every SaaS application. Agree the smallest authority that can perform the required recovery, and test that it actually works during the selected failure scenario.

If the customer's policy forbids an independent login path, document a verified provider-assisted recovery process and its expected delay. Do not promise immediate restoration without a mechanism. Support must verify authorized contacts through an agreed channel; an urgent email requesting that SSO be disabled is not sufficient identity proof.

A rollback can restore a prior approved login policy for a bounded cohort under the designated authority. It must not silently enable a global password fallback. Reverting a policy does not undo account merges, restore transferred ownership or revoke sessions created under the newer configuration. Record those effects separately and include them in the recovery decision.

8. Explain the failures that change the plan

FailureRiskResponse
Email is renamed or reassignedDuplicate creation or another person's data becomes linkedUse stable validated identity and reviewed linking evidence
Provider or pairwise subject changesExisting users appear newReconcile mappings before changing enforcement
Identity provider is unavailableFresh logins and administration failUse the rehearsed customer-approved recovery process
Deprovisioning arrives lateFormer users retain application sessionsMeasure and enforce the agreed session-revocation path
Signing-key or configuration changePreviously valid login paths stop workingUse supported rotation behavior, staged checks and configuration diagnostics
Last usable administrator leavesNo one can authorize a repairMaintain tested custodians and ownership succession

Track end-to-end success, duplicate-account incidents, failure reasons, support load and revocation latency. Avoid storing raw authentication tokens in logs. Keep account mapping defects separate from identity-provider downtime so the team does not respond to a data-continuity problem by weakening login controls.

9. Deliver an acceptance package

Hand over the cohort census, unresolved exceptions, reviewed linking decisions, configuration version, test matrix, recovery drill result and named operational owners. Include how to onboard the next employee, process a rename, remove access, rotate configuration and handle a provider change. Customer acceptance should refer to this evidence, not a screenshot of a successful redirect.

The central trade-off is enforcement speed versus verified continuity. Just-in-time creation reduces onboarding work but can hide duplicate identities. Exceptions preserve access but need an expiry process. Independent recovery reduces lockout risk while introducing an access path that must be protected and monitored.

  • The customer asks to merge every matching email. Explain the reassignment and duplicate-account cases, and propose a reviewed mapping process with explicit ownership evidence.
  • A contractor lacks the customer's identity-provider account. Apply the approved contractor policy or resolve assignment; do not invent an untracked bypass.
  • All pilot logins succeed but old documents are missing. Treat account continuity as failed until the correct internal identity and ownership are verified.
  • The deadline arrives with unresolved identities. Present the affected cohort and alternatives for a customer-owned scope decision. Do not label unresolved users ready.

Self-review rubric

A strong answer preserves internal identity, avoids email-based automatic merges and separates authentication from authorization and provisioning. It defines cohort denominators, checks real workflow continuity and assigns recovery authority. An excellent answer anticipates provider changes, stale sessions and irreversible data effects, and leaves the customer with a tested operating process.

Sources and attribution

Retrieved September 27, 2026. Vendor-specific instructions require adaptation to the actual product and customer policy. The scenario, rollout, arithmetic and acceptance examples are original practice material, with no company interview attribution.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.