Monday, May 8, 2023

Microsoft cloud logins - errors and how to get more details

Sometimes when logging in you might see errors like this containing this so called "Correlation ID".

You may wonder where you may find the corresponding log entries with more details on the Azure AD side? The answer helping you is the "Correlation ID".

That's what it does. It correlates your frontend issue with the backend logs.

Here you should have a closer look. And use the filter for the correlation ID. So its always a good Idea to copy the info to the clipboard and advise your users to send you this information.

How to do this:

  1. Open the Azure AD admin page
  2. Open the "Sign-in logs"
  3. Filter for the "Correlation ID" and click apply.
  4. Add in the new filter the Correlation ID info you copied first.
    Its a long Guid formatted number.

Also very helpful is this reference table for the Error Codes (AADSTS...)
Azure AD authentication & authorization error codes