When a password is guessed of an account without 2FA, the following error is shown.
[WARN] Got an error we haven't seen yet for user eanderson@lenovo.us.com
[WARN] AADSTS50131: Device is not in required device state: known. Or, the request was blocked due to suspicious activity, access policy, or security policy decisions.
After debugging the error, I noticed and checked that this error means "correct credentials". I added the correct validation to generate a correct output.
When a password is guessed of an account without 2FA, the following error is shown.
After debugging the error, I noticed and checked that this error means "correct credentials". I added the correct validation to generate a correct output.
Hope this helps. :-)