A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
Hi.
In your Microsoft Account security settings, add the TOTP method, but select "set up a different Authenticator app".
Then, scan the code using Authenticator or a third-party TOTP app.
You should get a 6-digit code.