androidandroid-studioazure-devopsmicrosoft-entra-id

Microsoft Entra ID Repeatedly Asking for MFA in Android Studio


As of today Microsoft Entra ID has been repeatedly asking me for MFA when I try to push code to devops in Android Studio. I copy the code provided, click on the link to Microsoft login page, enter the code. It then tells me that I have successfully logged in to Devops in the browser. When I return to Android Studio and click continue it appears to attempt to push the code, and then pops up with the same box prompting for MFA. No error message.

I was able to push to this same repo 2 days ago with no issues. I have updated to the latest version of Android Studio, and my devops extension is up to date with the correct repo destination. Any body else been dealing with a similar issue as of late?

This is the prompt that repeatedly appears:

enter image description here


Solution

  • What ended up solving this issue for me was uninstalling the DevOps plugin. I was connected to my remote repo by url and wasn't using the plugin, but it was somehow overriding my authentication only when pushing from the git toolbar. After uninstalling the plugin I was no longer met with the MFA request and my push went through as expected. Not sure why this issue began just a few days ago, but that's what solved it for me.