← Back to all provider errors
Microsoft
AADSTS70019 — Code expired
Device verification code expired.
Riposte solution
The device code expired before the user completed the authentication. You'll need to restart the device code flow by requesting a new code. In practice, prompt the user to go through the auth step again promptly. If using Riposte's standard web auth, this error won't occur, but for device flows handle it by timing out and retrying with a fresh code.
Quick facts
- Provider
- Microsoft
- Endpoint / surface
- Azure AD device code
- Status code
- 400
Why it happens
[User took too long to complete device flow]
How to fix it
[Start a new device code flow and act promptly]