logo
search
Sign-in & Login Problems

How to Fix Office 365 Opening with the Wrong Account in Microsoft Edge

Maira MehtabMaira Mehtab Sep 21, 2026 869 views

Question details

The user needs Microsoft Office documents and OneDrive links to open using their university account instead of their personal Microsoft account when using Microsoft Edge.

Product
Microsoft Office 365 / Microsoft Edge
Device & OS
not provided
Scenario
Clicking on external Office 365 documents or OneDrive links.
Observed behavior
Links open using the personal Microsoft account instead of the preferred university account, even though the university account is the primary Edge profile.
Before you start

Ensure you know the login credentials for both your personal and university Microsoft accounts before modifying your browser profile settings.

Solution 1Recommended

Set Default Profile for External Links in Microsoft Edge

Create separate Microsoft Edge profiles for your personal and university accounts, and configure the university account as the default handler for external links.

By separating your personal and university accounts into different Microsoft Edge profiles, you prevent browser cache conflicts and accidental cross-account logins. Adjusting the external link preferences ensures that all Office 365 documents and OneDrive links automatically route to your designated school or work profile.

1
Create separate Edge profiles

Open Microsoft Edge, click your profile icon in the top right corner, and select 'Add profile'. Set up one distinct profile for your personal Microsoft account and another for your university account.

2
Access Profile preferences

In Microsoft Edge, click the three-dot menu icon (...) and go to 'Settings'. Select 'Profiles' from the left-hand sidebar, then click on 'Profile preferences'.

3
Set default profile for external links

Locate the 'External link default profile' setting. Select your university profile from the dropdown menu to ensure all external Office and OneDrive links open with the correct account.

Profile Configuration Complete: Once the default external link profile is set, any links clicked from external applications like email clients or desktop messengers will automatically open in the university profile session.
Free Microsoft Office alternative

Try WPS Office to Avoid Account Sign-in Conflicts

Tired of dealing with multiple account conflicts and browser login loops in Microsoft Office 365? WPS Office is a free, lightweight alternative that lets you manage documents locally and in the cloud without strict account gating. It works seamlessly with Microsoft Word, Excel, and PowerPoint files.

  1. 1. Download and Install: Visit the official WPS Office website to download the free installer for your operating system.
  2. 2. Open Your Documents: Launch WPS Office and directly open your existing Microsoft Office files without worrying about browser login conflicts.
  3. 3. Save and Edit Seamlessly: Edit your documents offline or sync them to a preferred cloud drive with complete formatting preservation.
Free to use with a fast, lightweight installation processFully compatible with Microsoft Office formats like .docx, .xlsx, and .pptxManage local documents without complex browser profile dependencies or forced loginsFamiliar, tabbed user interface for easy and seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Edge keep signing me into the wrong Office 365 account?

This happens when Edge caches credentials from a previous session or if a personal profile is set to handle all external links. Separating accounts into different browser profiles and setting a specific link handler prevents this overlap.

Can I use multiple Office 365 accounts in the same Edge profile?

While possible, it is highly discouraged because mixing accounts in a single profile often leads to token conflicts, causing Office online to log you into the wrong account. Using separate browser profiles or private browsing windows is the best solution.

How do I sign out of all Microsoft accounts in Microsoft Edge?

Go to Office.com, click your profile picture in the top right corner, and select 'Sign out'. To thoroughly clear cached logins, go to Edge Settings > Privacy, search, and services > Clear browsing data, and clear your cookies and cached files.

Will changing the default external link profile affect my personal browsing?

No, setting the external link default profile only dictates which profile is used to open links clicked from outside the browser (such as a link in a desktop email app). Your regular web browsing within your personal profile remains unaffected.