Audience: On-call / Ops / Support escalation. Operational recovery for the identity layer. Each scenario: symptom → diagnosis → fix → prevention.
Identity failures block everyone — this layer is upstream of every module. Prioritise Primary-Admin-recovery and token/session issues (they can lock out an entire org).
Symptom: login returns LockedOut.
Diagnose: confirm it's lockout, not Failed (wrong password) or NotAllowed (unconfirmed email).
Fix: wait out the lockout window, or clear the lockout on the ApplicationUser (MembershipDb). Confirm identity out-of-band first.
Prevent: guide users to reset via ForgotPassword rather than retrying.
Symptom: user has the right password but no authenticator; can't pass TwoFactorRequired.
Diagnose: verify the human out-of-band (this is a security-sensitive reset — the whole point of 2FA).
Fix: clear/reset the user's 2FA key (GetTwoFactorAuthenticationKey seed) so they re-enrol on next login; or, if they can still log in, direct them to 2fa/Disable → re-enable.
Prevent: encourage backup codes / a second enrolled device where supported.
Symptom: the only Primary Admin left the company without transferring; org has no all-access owner.
Diagnose: confirm via GetPrimaryAdmin there's no reachable Primary Admin; identify a legitimate successor (contract/finance contact).
Fix: support-assisted ChangePrimaryAdmin to the verified successor. High-trust operation — verify authority to the company, not just the person.
Prevent: always have a Secondary Admin; run ChangePrimaryAdmin before off-boarding an owner (how-to §5).
Symptom: a user hits UnauthorizedPage on a page they should see.