How to troubleshoot Microsoft Entra sign-in errors

The Microsoft Entra sign-in logs enable you to find answers to questions around managing access to the applications in your organization, including:

  • What is the sign-in pattern of a user?
  • How many users have users signed in over a week?
  • What’s the status of these sign-ins?

In addition, the sign-in logs can also help you troubleshoot sign-in failures for users in your organization. In this guide, you learn how to isolate a sign-in failure in the sign-ins report, and use it to understand the root cause of the failure. Some common sign-in errors are also described.


You need:

  • A Microsoft Entra tenant with a P1 or P2 license.
  • A user with the Reports Reader, Security Reader, or Security Administrator role for the tenant.
  • In addition, any user can access their own sign-ins from

Gather sign-in details


Steps in this article might vary slightly based on the portal you start from.

  1. Sign in to the Microsoft Entra admin center as at least a Reports Reader.

  2. Browse to Identity > Monitoring & health > Sign-in logs.

  3. Use the filters to narrow down the results

    • Search by username if you're troubleshooting a specific user.
    • Search by application if you're troubleshooting issues with a specific app.
    • Select Failure from the Status menu to display only failed sign-ins.
  4. Select the failed sign-in you want to investigate to open the details window.

  5. Explore the details on each tab. You might want to save a few details for further troubleshooting. These details are highlighted in the screenshot following the list.

    • Correlation ID
    • Sign-in error code
    • Failure reason
    • Username, User ID, and Sign-in identifier

    Screenshot of the sign-in details, with several details highlighted.

Troubleshoot sign-in errors

With sign-in details gathered, you should explore the results and troubleshoot the issue.

Failure reason and additional details

The Failure reason and Additional Details might provide you with the details and next steps to resolve the issue. The Failure reason describes the error. The Additional Details provides more details and often tells you how to resolve the issue.

Screenshot of the activity details, with the failure reason and details highlighted.

The following failure reasons and details are common:

  • The failure reason Authentication failed during the strong authentication request doesn't provide much to troubleshoot, but the additional details field says the user didn't complete the MFA prompt. Have the user sign-in again and complete the MFA prompts.
  • The failure reason The Federation Service failed to issue an OAuth Primary Refresh Token provides a good starting point, but the additional details briefly explain how authentication works in this scenario and tell you to make sure that device sync is enabled.
  • A common failure reason is Error validating credentials due to invalid username or password. The user entered something incorrectly and needs to try again.

error codes

If you need more specifics to research, you can use the sign-in error code for further research.

The following error codes are associated with sign-in events, but this list isn't exhaustive:

  • 50058: User is authenticated but not yet signed in.

    • This error code appears for sign-in attempts when the user didn't complete the sign-in process.
    • Because the user didn't sign-in completely, the User field might display an Object ID or a globally unique identifier (GUID) instead of a username.
    • In some of these situations, the User ID shows up like "00000000-0000-0000".
  • 90025: An internal Microsoft Entra service hit its retry allowance to sign the user in.

    • This error often happens without the user noticing and is usually resolved automatically.
    • If it persists, have the user sign in again.
  • 500121: User didn't complete the MFA prompt.

    • This error often appears if the user hasn't completed setting up MFA.
    • Instruct the user to complete the setup process through to sign-in.

If all else fails, or the issue persists despite taking the recommended course of action, open a support request. For more information, see how to get support for Microsoft Entra ID.

Next steps