A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
I uninstalled both Microsoft Outlook and Teams from the phone and reinstalled it and it has worked.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
I uninstalled both Microsoft Outlook and Teams from the phone and reinstalled it and it has worked.
I was able to resolve this issue. Because I tried many different things, I cannot provide a definitive, step-by-step solution, but in my final attempt I resolved it by disabling MFA for the affected account. This approach may not be helpful or appropriate for typical end users.
For context, I have administrator rights for my company’s Microsoft 365 tenant. For security reasons, we have enforced mandatory MFA across the organization. On the same day, a colleague attempted to sign in to the Teams app and encountered the “4oggx” error. We tried every workaround we could think of—clearing cookies and app data, reinstalling the app, restarting the device, letting the password manager autofill the password, signing in with a different account, and so on—but nothing worked.
In the end, using my admin privileges, I changed the MFA setting for that specific account to “Do not require MFA.” After that, during an Outlook sign-in attempt (rather than Teams), the Microsoft sign-in finally succeeded, and the user was also able to sign in to Teams without further issues. I suspect that once MFA was no longer required, the sign-in would also have succeeded if we had tried logging in through Teams directly instead of Outlook.