title | description | ms.service | ms.subservice | ms.topic | ms.date | ms.author | author | manager | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|
Quickstart guide to analyze a failed sign-in attempt |
In this quickstart, you learn how you can use the sign-in log to determine the reason for a failed sign-in to Microsoft Entra ID. |
entra-id |
monitoring-health |
quickstart |
04/15/2024 |
sarahlipsey |
shlipsey3 |
amycolannino |
besiler |
With the information in the Microsoft Entra sign-in log, you can figure out what happened if a sign-in of a user failed. This quickstart shows how to you can locate failed sign-in using the sign-in log.
To complete the scenario in this quickstart, you need:
- A Microsoft Entra tenant with a Premium P1 license
- A user with the Reports Reader, Security Reader, or Security Administrator role for the tenant.
- A test account called Isabella Simonsen - If you don't know how to create a test account, see Add cloud-based users.
The goal of this step is to create a record of a failed sign-in in the Microsoft Entra sign-in log.
-
Sign in to the Microsoft Entra admin center as Isabella Simonsen using an incorrect password.
-
Wait for 5 minutes to ensure that you can find the event in the sign-in log.
This section provides you with the steps to analyze a failed sign-in. Filter the sign-in log to remove all records that aren't relevant to your analysis. For example, set a filter to display only the records of a specific user. Then you can review the error details. The log details provide helpful information. You can also look up the error using the sign-in error lookup tool. This tool might provide you with information to troubleshoot a sign-in error.
[!INCLUDE portal updates]
-
Sign in to the Microsoft Entra admin center as at least a Reports Reader.
-
Browse to Identity > Monitoring & health > Sign-in logs.
-
Adjust the filter to view only the records for Isabella Simonsen:
-
Select the failed sign-in attempt and view the details.
-
Copy the Sign-in error code.
-
Paste the error code into the textbox of the sign-in error lookup tool, and then select Submit.
Review the outcome of the tool and determine whether it provides you with additional information.
Now, that you know how to find an entry in the sign-in log by name, you should also try to find the record using the following filters:
-
Date - Try to find Isabella using a Start and an End.
-
Status - Try to find Isabella using Status: Failure.
When no longer needed, delete the test user. If you don't know how to delete a Microsoft Entra user, see Delete users from Microsoft Entra ID.
[!div class="nextstepaction"] Learn how to use the sign-in diagnostic