Skip to content
← All field notes

Field Notes · Sheet 09 / 30 · Conditional Access and MFA

Read the sign-in log first

Five things to read in the Entra sign-in log, in order, before changing any setting, and the seven AADSTS error codes worth knowing by heart.

Bradley Baker · · 1 min read

An annotated diagram of the Entra sign-in log details pane with its tabs, Basic info, Location, Device info, Authentication Details, Conditional Access and Report-only, marked with a numbered reading order. Below, a reference table of seven common AADSTS error codes and their meanings.
Sheet 09 / 30 · Drawn by Bradley BakerFull size

When I teach a newer admin to troubleshoot a failed sign-in, we read five things in the Entra sign-in log, in the same order, before anyone changes a setting. This is the longer version of Sheet 09.

Five things, in order

  1. Status and error code. The code usually tells you which layer said no.
  2. Authentication Details. Which methods were used, in what order, and whether MFA was satisfied or covered by a claim already in the token.
  3. The Conditional Access tab. Each policy shows whether it applied and whether it passed. Sheet 07 covers how Entra decides between them.
  4. The Report-only tab. What policies still in testing would have done. Sheet 06 covers the four results you'll see there.
  5. Device info and Location. Compliant, hybrid joined, or unknown, and from where.

Error codes worth knowing by heart

CodeWhat it means
AADSTS50126Invalid username or password.
AADSTS50076MFA required because of a policy, per-user enforcement, or a new location.
AADSTS50074Strong authentication was required and the user didn't pass the MFA challenge.
AADSTS53003Blocked by Conditional Access. Go straight to step 3.
AADSTS50053The account is locked or the sign-in was blocked. The code covers two causes, so read the full message.
AADSTS50097Device authentication is required.
AADSTS50055The password has expired.
Common AADSTS error codes in the Entra sign-in log

Microsoft says error codes and messages are subject to change, so read the full failure reason, not just the number.

Read the log before touching a policy

Mentoring junior admins was part of my role for years, and this is the habit I push hardest. Read the log first. It answers most tickets before anyone touches a policy.

Which error code shows up most in your tenant?

Sources

  1. Sign-in logs in Microsoft Entra IDlearn.microsoft.com
  2. Microsoft Entra authentication and authorization error codeslearn.microsoft.com
  • Entra ID
  • Sign-in logs
  • Troubleshooting
  • AADSTS
  • Conditional Access
This note on LinkedIn

Recon log

Findings 0/46

0/16 behavior and secret eggs. Hardware finds depend on the machine you visit from.

Hardware details are read by your browser and stay there. When you find an egg, only its name is counted, with no identifier attached, and nothing is counted if Global Privacy Control or Do Not Track is on.

Display0/7

  • Undiscovered (not found yet)

    rare

    Hint: Visit on a very large display.

  • Undiscovered (not found yet)

    uncommon

    Hint: Some monitors are wider than others.

  • Undiscovered (not found yet)

    uncommon

    Hint: Two screens are better than one.

  • Undiscovered (not found yet)

    rare

    Hint: Turn a monitor on its side.

  • Undiscovered (not found yet)

    common

    Hint: Pixels per inch matter.

  • Undiscovered (not found yet)

    uncommon

    Hint: Faster than 60 frames a second.

  • Undiscovered (not found yet)

    common

    Hint: Colors beyond sRGB.

Hardware0/11

  • Undiscovered (not found yet)

    rare

    Hint: Bring a flagship graphics card.

  • Undiscovered (not found yet)

    legendary

    Hint: A GPU that lives in a rack.

  • Undiscovered (not found yet)

    common

    Hint: A Mac with Apple silicon.

  • Undiscovered (not found yet)

    rare

    Hint: A Windows machine built for heavy work.

  • Undiscovered (not found yet)

    rare

    Hint: A Mac built for heavy work.

  • Undiscovered (not found yet)

    rare

    Hint: Two dozen threads or more.

  • Undiscovered (not found yet)

    rare

    Hint: Windows, but not on x86.

  • Undiscovered (not found yet)

    uncommon

    Hint: The year of the Linux desktop.

  • Undiscovered (not found yet)

    uncommon

    Hint: A laptop that boots straight into a browser.

  • Undiscovered (not found yet)

    uncommon

    Hint: No graphics card at all.

  • Undiscovered (not found yet)

    common

    Hint: A laptop you can poke.

Environment0/11

  • Undiscovered (not found yet)

    uncommon

    Hint: Visit while your battery is nearly flat.

  • Undiscovered (not found yet)

    uncommon

    Hint: Your browser has a setting for saving data.

  • Undiscovered (not found yet)

    uncommon

    Hint: Visit very late at night.

  • Undiscovered (not found yet)

    common

    Hint: Visit on a day off.

  • Undiscovered (not found yet)

    uncommon

    Hint: A browser with a lion on it.

  • Undiscovered (not found yet)

    common

    Hint: A browser with a fox on it.

  • Undiscovered (not found yet)

    uncommon

    Hint: An accessibility setting that calms things down.

  • Undiscovered (not found yet)

    uncommon

    Hint: Tell websites not to track you.

  • Undiscovered (not found yet)

    rare

    Hint: Visit from the Lone Star State.

  • Undiscovered (not found yet)

    common

    Hint: A newer version of HTTP.

  • Undiscovered (not found yet)

    rare

    Hint: A very narrow window.

Behavior0/7

  • Undiscovered (not found yet)

    uncommon

    Hint: Drag the edge of your browser window around.

  • Undiscovered (not found yet)

    uncommon

    Hint: Reach the bottom of the page quickly.

  • Undiscovered (not found yet)

    uncommon

    Hint: Try printing this page.

  • Undiscovered (not found yet)

    common

    Hint: Toggle the theme a few times.

  • Undiscovered (not found yet)

    rare

    Hint: Lose your connection.

  • Undiscovered (not found yet)

    rare

    Hint: Plug in a controller and press a button.

  • Undiscovered (not found yet)

    uncommon

    Hint: Sign the guestbook.

Secrets0/10

  • Undiscovered (not found yet)

    rare

    Hint: A famous cheat code.

  • Undiscovered (not found yet)

    common

    Hint: There's a terminal in here somewhere.

  • Undiscovered (not found yet)

    uncommon

    Hint: Ask the terminal about your machine.

  • Undiscovered (not found yet)

    uncommon

    Hint: Ask the terminal for root.

  • Undiscovered (not found yet)

    rare

    Hint: sudo, but make it a job offer.

  • Undiscovered (not found yet)

    rare

    Hint: The most dangerous command there is.

  • Undiscovered (not found yet)

    legendary

    Hint: Open your browser's developer console.

  • Undiscovered (not found yet)

    uncommon

    Hint: Click the logo. Then keep clicking.

  • Undiscovered (not found yet)

    legendary

    Hint: Type the 82nd's favorite word anywhere on the page.

  • Undiscovered (not found yet)

    legendary

    Hint: Find every egg that doesn't depend on your hardware.

Finds are saved in this browser only.

guest@bradbaker-it.com:~