Why Microsoft Authenticator Requests a Code When Adding an Account
Question details
The user wants to understand why Microsoft Authenticator requires a verification code or QR code when setting up a new account.

- Product
- Microsoft Authenticator
- Device & OS
- not provided
- Scenario
- Adding a new account to the Microsoft Authenticator app for two-factor authentication (2FA).
- Observed behavior
- During the account setup process, the Authenticator app prompts the user to scan a QR code or manually enter a verification code to proceed.
Ensure you are logged into your account service (such as your Microsoft account or company portal) on a separate device, like a computer, so you can easily view and scan the provided QR code.
Link the Account Using a QR Code
This is the fastest and most common method to securely link your account to the Microsoft Authenticator app.
The authentication process relies on a unique secret key shared between your account provider and the Authenticator app. Scanning a QR code automatically transfers this key, proving you have authorized access to configure the account.
Navigate to the security or two-step verification settings of your account (e.g., Microsoft Security Dashboard) on a computer and choose to add an authenticator app. A QR code will appear on your screen.
Open the Microsoft Authenticator app on your mobile device, tap the '+' icon or 'Add account' button, and select the appropriate account type (Personal, Work, or School).
Select 'Scan a QR code' in the app and point your device's camera at the computer screen. The app will automatically read the code and add the account.

Manually Enter the Verification Code
Use this method if your device's camera is not working or if you are setting up the authenticator on the same device where you are logged into your account.
Looking for a Hassle-Free Office Suite? Try WPS Office
While securing your accounts with two-factor authentication is essential, managing complex Microsoft 365 subscriptions doesn't have to be. WPS Office offers a free, lightweight, and incredibly intuitive alternative for all your productivity needs.
- 1. Download the installer: Visit the official WPS Office website and download the free version for your Windows, Mac, or Linux device.
- 2. Install the software: Run the setup file and follow the quick on-screen instructions to install the suite in just a few minutes.
- 3. Open your files instantly: Double-click any existing Microsoft Office file to open it seamlessly in WPS Office and start editing.

Frequently Asked Questions
Where do I get the QR code for Microsoft Authenticator?
The QR code is provided by the service you are trying to secure (such as your Microsoft account, company portal, or third-party website) when you enable two-step verification in their security settings.
Why does Microsoft Authenticator ask for a code every time I sign in?
This is the core function of two-factor authentication. After the initial setup, the app continuously generates temporary 6-digit codes (or sends push notifications) to ensure that even if someone knows your password, they cannot access your account without your physical device.
Can I transfer my Authenticator accounts to a new phone?
Yes, if you enable Cloud Backup in the Authenticator app settings on your old phone, you can recover your accounts on a new device by signing in with your recovery account. Otherwise, you will need to set up the 2FA connection again using new QR codes from your account providers.




