How to Stop Microsoft 365 Admin Portal from Automatically Signing In to an Old Tenant
Question details
The user wants to prevent Microsoft Edge from automatically logging into an old or abandoned Microsoft 365 tenant when trying to access the admin portal, without losing saved passwords for other websites.

- Product
- Microsoft 365
- Device & OS
- Windows
- Scenario
- Attempting to access the Microsoft 365 Admin Portal to manage a new tenant using the Microsoft Edge browser.
- Observed behavior
- Microsoft Edge bypasses the login screen and automatically authenticates using cached credentials from an old, abandoned Microsoft 365 tenant.
Ensure you have the correct administrator username and password for the new Microsoft 365 tenant ready, as you will need to re-enter them once the auto-login cache is successfully cleared.
Remove Cached Credentials and Clear Specific Edge Data
Clear the specific saved login data from Windows Credential Manager and selectively delete Microsoft Edge cookies to force the portal to ask for credentials again.
Windows often saves Microsoft account tokens system-wide to provide seamless single sign-on. Removing these specific credentials will stop the automatic sign-in loop without affecting your saved passwords for other non-Microsoft websites.
Click the Windows Start button, type 'Credential Manager' into the search bar, and press Enter. Click on the 'Windows Credentials' section.
Scroll through the list of generic credentials to find any entries related to 'MicrosoftOffice', 'msteams', or your old tenant's email address. Click the down arrow next to the entry and select 'Remove'.
Open Microsoft Edge, click the three-dot menu in the top right, and go to Settings > Cookies and site permissions > Manage and delete cookies and site data > See all cookies and site data. Search for 'microsoftonline.com' and 'office.com', then click the trash can icon next to them.
Close all active Microsoft Edge browser windows, restart your computer, and navigate back to the Microsoft 365 Admin Portal. You should now be prompted to enter your login details.

Disconnect Old Work or School Accounts from Windows
Remove old organizational accounts linked at the Windows system level to prevent system-wide automatic authentication.
Simplify Your Workflow with WPS Office
If managing multiple cloud tenants and complex Microsoft 365 admin portals is slowing you down, consider switching to WPS Office. It provides a lightweight, unified desktop experience for all your document needs without the hassle of forced cloud sign-ins.
- 1. Download the Installer: Visit the official WPS Office website and click the 'Free Download' button to get the installation package.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Open and Edit Documents: Launch WPS Office and immediately open your existing Microsoft Office files. You can edit and save them in their original formats without needing a cloud tenant login.

Frequently Asked Questions
Why does Microsoft Edge keep logging me into the wrong Microsoft 365 account?
Edge integrates deeply with Windows. If you previously signed into an account and allowed Windows to 'remember' it for all apps, or if your session cookies haven't expired, Edge will use those cached tokens to log you in automatically to provide a single sign-on experience.
Will clearing my Windows credentials delete my saved passwords for other websites?
No. As long as you only remove the specific Microsoft 365 entries in the Windows Credential Manager and selectively delete cookies for Microsoft domains in Edge, your saved passwords for other websites will remain completely intact.
How do I manage multiple Microsoft 365 tenants efficiently on the same computer?
The most reliable approach is to use separate Microsoft Edge Profiles for each tenant. This isolates cookies, cached credentials, and browsing history, preventing cross-tenant auto-login conflicts. Alternatively, you can use InPrivate browsing windows for temporary access.




