Two factor authenticatio with ADAL REST API

Jordan Grébé 1 Reputation point

I'm using adal-node for authenticating users and I'm face a problem described by:

"2020-12-12T17:26:36.858Z[error]"Get Token request returned http error: 400 and server response: {\"error\":\"interaction_required\",\"error_description\":\"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000002-0000-0000-c000-000000000000'.\r\nTrace ID: 53157db9-5dd7-4332-b28e-2e1f27a72f00\r\nCorrelation ID: 9fd24ee3-c008-457e-b175-a3bb809b7645\r\nTimestamp: 2020-12-12 17:26:37Z\",\"error_codes\":[50076],\"timestamp\":\"2020-12-12 17:26:37Z\",\"trace_id\":\"53157db9-5dd7-4332-b28e-2e1f27a72f00\",\"correlation_id\":\"9fd24ee3-c008-457e-b175-a3bb809b7645\",\"error_uri\":\"\",\"suberror\":\"basic_action\"}""

So my question, is there a way to signin user which has multi-factor authentication activated on there account ?
Note: I'm using adal as REST API

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,603 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,301 Reputation points

    Can you check if MFA is enabled for the account you test with?

    Following answer provide more info on what you should pay attention.

    Hope this helps.

    1 person found this answer helpful.