Error: Interaction required #4
Comments
Hi @venkatmarepalli, ADAL4J can be used to sign in MFA enabled accounts, although this sample does not show how to do it. If you'd like to see a sample that handles MFA, take a look at this web app sample. |
Thank you for your reply. Can you tell me how MFA is handled here? Does it make users to enter the code on console or does ADALJ4 passes authentication without MFA ? @sangonzal Just to clarify we have a native app which does authentication using the browser, we wanted to get rid off this process if ADALJ4 supports MFA or this feature is released |
Hi, How can i pass the client secret using the method aquiretoken with username and password. Thanks, |
This sample has been archived. The newer one can be found at: https://github.com/Azure-Samples/ms-identity-java-desktop/tree/master/Username-Password-Flow |
I tried your application on windows and it worked like a charm, I was wondering if this ADAL library can bypass MFA or not.
Our organization has MFA setup, it asks for MFA whenever a user logs in from a different location. When I tried this sample on my Linux box which is at a different location, I got the below error. Please confirm if ADAL library can bypass MFA and give users text only interface to authenticate to the application.
Caused by: com.microsoft.aad.adal4j.AuthenticationException: {"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: 7903cd61-659e-4dc6-a8b0-3dac4c672700\r\nCorrelation ID: b541777f-e2cc-4b87-ab7b-8dd83654d445\r\nTimestamp: 2017-04-18 23:02:36Z"}
The text was updated successfully, but these errors were encountered: