How to use any authenticator app with your Microsoft account
You don't have to use Microsoft Authenticator. Microsoft accounts work with any TOTP app, including Google Authenticator, 2FAS and Get2FA. The trick is a small link during setup.
Updated 2026-11-19
Have your secret key? Get your code nowOpen the 2FA generator
Step by step
- Sign in at account.microsoft.com/security.
- Select Manage how I sign in (or Advanced security options).
- Choose Add a new way to sign in or verify, then Use an app.
- When Microsoft offers to install Microsoft Authenticator, select Set up a different Authenticator app / I want to use a different authenticator app.
- Microsoft shows a QR code. Use “I can't scan the bar code” to see the secret key and save it.
- Add the key to your app (or Get2FA) and type the code to confirm.
- Back in security settings, turn on Two-step verification if it isn't on yet.
Before you turn it on
- Microsoft recommends having three pieces of security info (for example an app, a phone number and an email) so you don't lose access.
- Some older apps and devices can't ask for a code. For those, Microsoft uses app passwords, created in the same security page.
Work or school accounts
For accounts managed by a company or school, setup happens at your organization's sign-in page and your administrator decides which apps are allowed.
Keep a copy of the key
Before you scan the QR code, look for the option to see the key as text and save it in your password manager. If your phone is lost or replaced, you can paste that key into Get2FA or a new authenticator app and get your codes back in seconds. Never share the key or a screenshot of the QR code: anyone who has it can generate your codes.
Have your secret key? Get your code nowOpen the 2FA generator
Guides
- What is 2FA (two-factor authentication)?
- Where to find your 2FA secret key
- How to turn on Instagram 2FA with an authentication app
- How to set up Facebook 2FA with an authenticator app
- How to transfer Google Authenticator to a new phone
- 2FA code not working? Here's how to fix it
- Lost your phone with the authenticator app? What to do
- “Enter a 6-digit login code generated by an authentication app”: what to do
- Fortnite 2FA: how to enable it at fortnite.com/2fa
- What is TOTP? (and TOTP vs HOTP)
- Microsoft Authenticator not showing a code? Here's the fix
- How to set up Amazon Two-Step Verification with an authenticator app
- How to turn on PayPal 2-step verification with an authenticator app
- How to set up Coinbase 2FA with an authenticator app
- How to enable Discord 2FA with an authenticator app
- How to set up X (Twitter) 2FA with an authentication app
- How to set up TikTok 2-step verification with an authenticator app
- How to set up GitHub 2FA with a TOTP app
- How to enable Binance 2FA with an authenticator app