microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
522 stars 289 forks source link

Multi-factor authentication ( mfa ) not working. #895

Open rajendrabhole opened 4 years ago

rajendrabhole commented 4 years ago

I follow all steps that are given in Readme doc in MFA Support. I able to follow steps successfully and I got a secret key that I used in easy repro config file. I am able to run my test case in the Chrome browser. On the Chrome browser, I can log in successfully but it failed in the MFA process. The MFA dialog opened and OTP entered automatically using a secret key. But that OTP always shows me unauthorized.

Message: Test method Microsoft.Dynamics365.UIAutomation.Sample.AzureDevOps.UCI.CreateAccountUCIDevOps.UCIDevOpsCreateAccount threw exception: System.InvalidOperationException: Something went wrong entering the OTC. Please check the MFA-SecretKey in configuration.

haidykhaled commented 2 years ago

did you find any solution ?

Shakevg commented 2 years ago

haidykhaled I suppose it was some configuration issue. What issue do you have? Did you try to login mannualy with the same key generated by auth app?