Error AtlasError Documentation and Resolution

Microsoft Entra sign-in failed because the user declined consent

AADSTS65004: User declined to consent to access the app.

Microsoft Entra ID stopped the sign-in flow because the user explicitly declined the consent prompt for the application.

AADSTS65004authentication
AADSTS65004: User declined to consent to access the app.
  • The user selected cancel or declined on the consent screen.
  • The requested permissions looked excessive or unexpected to the user.
  • The app is asking for more access than is necessary for the current scenario.
  1. Ask the user to retry sign-in and approve the required permissions.
  2. Review whether the app can request fewer permissions.
  3. Provide clearer guidance to users about why the app needs the requested access.
Microsoft Entra authentication and authorization error codes
AADSTS65004 user declined consent in Microsoft Entra | Error Atlas