A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
It looks like you are stuck in an incredibly frustrating authentication loop! This headache usually happens when the app gets confused between a standard 6-digit verification code and an 8-digit passwordless sign-in code.
If this is a work or school account, your quickest fix is contacting your company's IT admin to have them reset your multifactor authentication (MFA) settings from their dashboard, which wipes out the glitch. If it is a personal account, try logging into your security settings on a web browser using an alternate method—like a text message or email—so you can delete and re-add the app connection.