Error Code Portal
MicrosoftMicrosoft Entra IDError code

AADSTS50158

External security challenge not satisfied

Alternative forms: 50158

Code AADSTS50158 · An issue reported by Microsoft Entra ID.

External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges. The user is required to satisfy additional requirements before finishing authentication, and was redirected to another page (such as terms of use or a third party MFA provider). This code alone doesn't indicate a failure on your users' part to sign in. The sign in logs may indicate that this challenge was successfully passed or failed.

Troubleshooting and diagnostic links

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