Stop Microsoft 365 and OneDrive From Signing In to the Wrong Account
Question details
Sign in to Microsoft 365 and OneDrive with the intended work account instead of a personal 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.
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.
Remove Saved Office Credentials and Sign In Again
Use this method when Office keeps choosing a previously saved account.
Exit Word, Excel, Outlook, and any other open Office applications.
Open the Windows Start menu, search for Credential Manager, and select Windows Credentials.
Expand saved Microsoft Office credentials associated with the unwanted account and select Remove. Avoid deleting unrelated credentials.
Reopen an Office app, select Sign in, and enter the intended work account credentials.

Manage Browser Sign-In for Microsoft 365
Use browser privacy controls to prevent an existing browser session from selecting the personal account.
Unlink OneDrive and Add the Correct Work Account
Use the current OneDrive sync app to disconnect the unwanted account and set up the work account.
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.

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.




