Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50126

InvalidUserNameOrPassword

Alternative forms: 50126

Code AADSTS50126 · An issue reported by Microsoft Entra ID.

InvalidUserNameOrPassword - Error validating credentials due to invalid username or password. The user didn't enter the right credentials. Expect to see some number of these errors in your logs due to users making mistakes.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.