Error AtlasError Documentation and Resolution

Microsoft Entra device code flow is still waiting for user authorization

AADSTS70016: AuthorizationPending

Microsoft Entra returned AuthorizationPending because the device code flow has not yet been approved by the user in the browser.

AADSTS70016authentication
AADSTS70016: AuthorizationPending
  • The user has not finished the device code sign-in flow yet.
  • The app is polling before user approval has occurred.
  • The device code flow is working normally but has not completed.
  1. Complete the device authorization flow in the browser using the provided code.
  2. Allow the client to continue polling at the prescribed interval.
  3. Do not treat AuthorizationPending as a fatal error while the device flow is still active.
Microsoft Learn: Microsoft Entra authentication and authorization error codes
AADSTS70016 AuthorizationPending: causes and fixes | Error Atlas