How to Fix Outlook Repeatedly Requesting a Security Code When Adding an Account
Question details
The user is experiencing a continuous loop of security code requests when trying to add a personal Outlook.com account to Microsoft 365 Apps.

- Product
- Microsoft Outlook
- Device & OS
- Windows
- Scenario
- Adding a personal Outlook.com account to Microsoft 365 Apps for enterprise on a personal computer.
- Observed behavior
- Outlook repeatedly prompts for phone verification and loops continuously without progressing to the Windows Hello PIN setup.
Ensure you have your correct personal Microsoft account credentials ready and verify that you have administrator access to your Windows computer to modify account settings.
Remove Outdated Work or School Accounts from Windows
Clear old organizational credentials from your Windows settings, which are often the root cause of the verification loop.
When older work or school account profiles remain active on your personal computer, they can interfere with Microsoft 365 Apps authentication. Removing these outdated connections forces the system to rely only on your active personal credentials.
Click the Start button and select the gear icon to open Windows Settings. Alternatively, press Windows Key + I on your keyboard.
Click on 'Accounts' and select 'Access work or school' from the left-hand menu pane.
Locate any old or unused work or school accounts in the list. Click on the account and select 'Disconnect', then confirm the removal.
Restart your PC to ensure the credential cache is fully cleared from the system memory.
Open Outlook and attempt to add your personal Outlook.com account again. Complete the required multifactor authentication steps normally.

Clear Saved Credentials in Windows Credential Manager
Use the built-in Windows Credential Manager to manually delete stubborn Microsoft Office login states.
Use WPS Office for a Hassle-Free Document Experience
If Microsoft 365 account verification loops are disrupting your workflow, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative without complex enterprise account entanglements.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the downloaded file and follow the simple on-screen instructions to complete the setup.
- 3. Open and Edit: Launch WPS Office and instantly open your existing Microsoft Office documents without worrying about account authentication loops.

Frequently Asked Questions
Why does Outlook keep asking for my security code in a loop?
This usually happens when Outlook detects conflicting cached credentials from old work or school accounts. Windows prioritizes these enterprise credentials, causing an authentication loop when adding a personal account.
Can I bypass the multifactor authentication (MFA) in Outlook?
It is not recommended and often impossible to bypass MFA if your account requires it. Instead of trying to bypass it, ensure you clear old credentials from Windows settings and complete the MFA prompt using the Microsoft Authenticator app or an SMS code.
What should I do if the Windows Hello PIN setup never appears?
If the Windows Hello PIN setup is skipped or blocked, go to Windows Account Settings > Sign-in options, and ensure Windows Hello is configured correctly. Disconnecting outdated enterprise accounts in the 'Access work or school' menu usually resolves the blockage.
Will removing a work account delete my personal files?
No, disconnecting a work or school account from Windows Settings only removes the organization's access policies and credential tokens from your device. Your personal files and local data remain untouched.




