Sign-in & Login Problems

Stop Microsoft 365 and OneDrive From Signing In to the Wrong Account

Anum MushtaqAnum Mushtaq Nov 25, 2026 868 views

Question details

Sign in to Microsoft 365 and OneDrive with the intended work account instead of a personal account.

Stop Microsoft 365 and OneDrive From Signing In to the Wrong Account
Product
Microsoft 365, OneDrive, and Internet Explorer
Device & OS
Windows
Scenario
A user switches from a personal Microsoft account to a work account on a computer previously set up with personal OneDrive.
Observed behavior
Internet Explorer and OneDrive continue signing in to the personal account. InPrivate browsing prevents automatic sign-in temporarily, and the legacy OneDrive client does not show account unlinking or adding options.
Before you start

Confirm the email address of the work account you want to use and close all Office apps before changing saved credentials. If this is a managed work computer, check with your IT administrator before removing credentials or changing OneDrive settings.

Solution 1Recommended

Remove Saved Office Credentials and Sign In Again

Use this method when Office keeps choosing a previously saved account.

1
Close Office apps

Exit Word, Excel, Outlook, and any other open Office applications.

2
Open Credential Manager

Open the Windows Start menu, search for Credential Manager, and select Windows Credentials.

3
Remove relevant credentials

Expand saved Microsoft Office credentials associated with the unwanted account and select Remove. Avoid deleting unrelated credentials.

4
Sign in with your work account

Reopen an Office app, select Sign in, and enter the intended work account credentials.

Remove Saved Office Credentials and Sign In Again
Other apps may ask you to sign in: Removing a saved credential may require you to sign in again to an associated Microsoft app.
Free Microsoft Office alternative

Work With Office Documents Using WPS Office

WPS Office is a free, lightweight, easy-to-use alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing documents. It does not change Microsoft 365 or OneDrive sign-in settings.

Open and edit Word, Excel, and PowerPoint files in familiar layoutsCompatible with common Microsoft Office formats, including DOCX, XLSX, and PPTXContinue working with local Office documents while resolving account sign-inFree and lightweight for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Why does the personal account return after I close InPrivate browsing?

InPrivate browsing uses a separate temporary session; it does not clear the regular browser session or Windows credentials. Check Credential Manager > Windows Credentials and remove relevant saved Office credentials if appropriate.

What if OneDrive does not show Unlink this PC?

Open the OneDrive cloud icon > Help & Settings > Settings > Account. If the option is still missing, update or install the current OneDrive sync app, or ask your IT administrator whether a legacy client or policy is involved.

Will clearing browser cookies remove my saved Windows credentials?

No. Browser cookies and Windows credentials are managed separately. To review saved credentials, open Credential Manager from the Windows Start menu and select Windows Credentials.

How can I keep work and personal browser sessions separate?

In Microsoft Edge, create a separate browser profile for your work account or open an InPrivate window and sign in to Microsoft 365 with the work email address.