-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login to support multi-factor authentication #726
Comments
Hi @tristanperper, I got yesterday the same Issue in a new Online Trial version. I solve it few weeks ago: br |
Our organization uses Azure MFA which doesn't seem to provide a way to get the MFA Secret (it gets handed to the Microsoft Authenticator over a one time SSL call... Anyone have a suggestion on how to get MFA to work or is this an instance were I need to have an "interesting" conversation with IT and security as to why we need a non-MFA account with near "universal" permissions to our dev CRM? |
will check on this one. |
thank you very much.. i've seen your code... i also have tried to create a local branch forked from release v9.1 and made that same solution as yours (Login with MFA) / jsakamoto solution. it also worked in my local branch. though my questions are, 1] when will it be merged and into what release? 2] will it be available as an official package (Visual Studio -> reference -> Manage Nuget Packages) ? |
I also tried the fix, I got it merged in fine, but ( at least for me) there is no way to get the MFA secret with how our Azure AD and MFA is configured. |
Hi @tristanperper, I'm glad to ear that it is working for you. I create a branch & I want to merge it to develop. But I found at least an Issue with the UCIPerformanceMode and I want to tests it before I create a pull request. See #731. I hope it will be official soon. Thanks & br |
Hi @jhandel,
Try to navigate
<add key="MfaSecrectKey" value=""/> Related to: wiki: Azure-DevOps-Test-Execution br |
@AngelRodriguez8008 our IT had moved us to the "preview" version of the MFA UI.. Once we rolled it back to the current UI (like your screen shot) I was able to find it. Thanks |
Is this somehow related to UCIPerformanceMode being missing? I encountered that in my local... what I do is remove then replace the UIAutomation.Browser binary (dll coming from EasyRepro release v9.1) reference in my solution ... |
Hi @tristanperper, Thanks for the Info. After merge with #734 the Issue with the UCIPerformanceMode was solved. Maybe was required just Clean & Rebuild of the Solution. I create the Pull Request #735 for this branch. br |
Hi @AngelRodriguez8008 , Will check on this pull request and skim-thru those changes. Will monitor this pull request until it closed. Thank you very much!! :) |
Hi @AngelRodriguez8008 , I already have the new Dynamics365.UI.Automation.Api referenced in our automation solution/project. But upon using or testing the new login (it does convert the mfa/otp), there is an error upon page redirection. Please see attached screenshot. This kind of error does not occur in previous login implementation (wherein i would just manually supply the otp on the page). I have also check/test the login manually the system-under-test seems to work fine. |
Hi @tristanperper, In which point of the execution are you getting this error? How your "app.config" look like? Which format has your mfa-secrect-key? Did you see the OTC dialog? How look your tests results like, there is some errors printed? Are you getting redirected like in #770? Url? Browser? I will appreciate more information about this error. You can also open an Issue for that. Thanks & br |
Hi @AngelRodriguez8008 ,
I also tried the solution in 44f8cd9?diff=split driver.WaitForPageToLoad(); I tried putting the following line in method InitializeModes: Created issue/bug in this link #778 Tristan Perper |
@tristanperper did you find any solution for logging with authentication? |
@AngelRodriguez8008 I was trying to bypass MFA in one of my CRM application using the secret key, I did everything right the steps ask to, but it seems to be stuck on the OTP screen can you please help me out .... |
DotaABhash Please create separate issue, I will post workaround |
Describe the feature
Login to support supplying otp key.
Login method to have otp key parameter and must be able to supply the otp key during login.
Explain why this feature is needed
D365 users (in our case) will be asked always for an otp key since MFA is a security feature for Dynamics 365. The key will be coming from Microsoft Authenticator App
(instead of sms).
Additional context
The text was updated successfully, but these errors were encountered: