Fix Excel Using the Wrong Microsoft 365 Account During Export
Question details
The user is experiencing application freezes and account prompt loops when exporting data to Excel, as the software repeatedly identifies an incorrect Microsoft 365 account.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Exporting data to Excel from a third-party application.
- Observed behavior
- Excel opens behind an unseen account dialog box requesting the wrong Microsoft 365 account, causing the application to completely freeze and become unresponsive.
Ensure you know the exact email address and password associated with your active Microsoft 365 subscription, and save any open work in other applications before proceeding.
Clear Outdated Office Credentials
Removing old Microsoft credentials from Windows Credential Manager forces Excel to request the correct active account, preventing the hidden dialog loop.
Often, Windows stores outdated login tokens for Microsoft Office. When an external application triggers Excel to open, Excel tries to silently authenticate using these cached credentials. If they are incorrect, it spawns an unseen prompt that causes the freezing behavior.
Click the Windows Start button, type 'Credential Manager' in the search bar, and press Enter to open the settings panel.
Select the 'Windows Credentials' tab located at the top of the Credential Manager window.
Scroll down to the 'Generic Credentials' section and look for any entries that contain 'MicrosoftOffice16' or 'mso'.
Click on the relevant Office credential entry to expand it, then click 'Remove'. Confirm the deletion and repeat this process for all listed Office accounts.
Restart your computer. Open Excel directly from your Start menu and sign in with the correct Microsoft 365 account email and password when prompted.

Verify Office Account Activation Status
Ensure that the Microsoft account currently signed into your Excel application is the exact one actively subscribed to Microsoft 365.
Avoid Account Verification Issues with WPS Office
If Microsoft 365 account glitches and subscription dialogs keep freezing your application during data exports, consider switching to WPS Office. It provides a lightweight, highly compatible spreadsheet editor without the hassle of complex cloud licensing loops.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installer.
- 2. Install the Software: Run the setup file and follow the straightforward on-screen instructions to install the suite.
- 3. Set as Default Application: Set WPS Spreadsheets as your default application for .xlsx and .csv files in your Windows settings to seamlessly open exported data.

Frequently Asked Questions
Why does Excel freeze when exporting data from another app?
Excel often freezes during external data exports if an unseen prompt—such as a Microsoft 365 account sign-in request, an expired license notice, or a macro security warning—opens in the background and requires user interaction before proceeding.
How can I bring a hidden Excel dialog box to the front?
You can press Alt + Tab on your keyboard to cycle through your open windows, which often brings hidden dialog boxes to the foreground. You can also hover over the Excel icon on your Windows taskbar to see thumbnails of all open dialogs.
What should I do if clearing Credential Manager doesn't work?
If removing outdated credentials does not resolve the wrong account prompt, you may need to use the official Microsoft Support and Recovery Assistant (SaRA) tool to completely wipe your Office activation states, or contact Microsoft 365 support directly for licensing component repairs.
Does reinstalling Microsoft 365 remove old account credentials?
No, simply uninstalling and reinstalling Microsoft 365 does not clear the cached account credentials stored in the Windows Credential Manager. You must manually delete these entries to force Excel to request new login details.




