How to Fix Microsoft Authenticator Error 500121 When Switching Directories
Question details
The user needs to resolve an authentication failure (Error 500121) that happens when switching directories in Microsoft Entra with a multi-tenant account.

- Product
- Microsoft Authenticator
- Device & OS
- not provided
- Scenario
- Switching Microsoft Entra directories for an account that belongs to multiple tenants.
- Observed behavior
- The authentication fails with Error 500121 and displays an incorrect verification code.
Ensure you have access to a secondary sign-in method or know the contact information for your organization's Global Administrator to reset your multi-factor authentication settings.
Remove and Re-register the Affected Account in Microsoft Authenticator
Use this method to clear out the broken configuration and register your account freshly with the correct directory.
This is the most common fix for users experiencing tenant mismatches in the Authenticator app.
Launch the Microsoft Authenticator app on your mobile device.
Select the work or school account experiencing Error 500121, tap the settings (gear) icon in the top right, and choose 'Remove account'.
On your computer or application, completely sign out of the affected Microsoft account.
Sign in again using your username and password. Follow the on-screen prompts to set up Microsoft Authenticator anew for the correct directory.

Request an MFA Reset from a Global Administrator
If you are locked out completely, an IT administrator must reset your authentication methods from the backend.
Avoid Account Lockouts While Working Locally with WPS Office
While waiting for IT to resolve your Microsoft Authenticator and directory issues, you can continue to edit and manage your documents using WPS Office. It provides a lightweight, offline-capable, and completely free alternative for your daily productivity needs without requiring complex tenant authentication.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installation file and follow the on-screen prompts to complete the setup.
- 3. Open Your Documents: Launch WPS Office and open your existing Microsoft Office files directly to continue working seamlessly.

Frequently Asked Questions
Why am I getting Error 500121 when switching directories?
This error typically occurs when there is a mismatch or token conflict in Microsoft Authenticator for an account that belongs to multiple Microsoft Entra tenants. The app generates a verification code for the wrong directory, causing the sign-in to fail.
Can I fix Error 500121 if I am the only global administrator?
If you are the only administrator and have no backup sign-in methods registered, you will need to find a secondary 'break-glass' admin account credential. If one is not available, you must contact Microsoft Support and provide your request and correlation IDs to regain access.
What should I do if removing the account from the app doesn't work?
If re-registering the account in Microsoft Authenticator does not resolve the issue, try using the 'Other ways to sign in' link on the login screen to use a backup verification method like an SMS code or email link. Alternatively, an admin must reset your MFA profile entirely.




