logo
search
Sign-in & Login Problems

How to Fix the Unsupported Browser Error in Exchange Online PowerShell

Chanuka GeekiyanageChanuka Geekiyanage Oct 20, 2026 869 views

Question details

Users encounter an unsupported browser error when running the Connect-ExchangeOnline command in PowerShell.

How to Fix the Unsupported Browser Error in Exchange Online PowerShell
Product
Exchange Online PowerShell
Device & OS
not provided
Scenario
Attempting to connect to Exchange Online via PowerShell using modern authentication.
Observed behavior
PowerShell opens an outdated embedded browser or Internet Explorer instead of the default modern browser, failing the authentication process with an unsupported browser message.
Before you start

Ensure that Microsoft Edge is updated to the latest version and temporarily verify that it is set as your default system browser.

Solution 1Recommended

Pre-authenticate via Microsoft Edge

Bypass the embedded legacy browser by logging into your account directly in Microsoft Edge before running the PowerShell command.

The Connect-ExchangeOnline module sometimes incorrectly triggers legacy Internet Explorer components for its authentication popup. By initiating an active session in a supported browser first, PowerShell can often piggyback on the existing modern authentication token.

1
Open Microsoft Edge

Launch the latest version of Microsoft Edge on your computer.

2
Sign into Microsoft 365

Navigate to the official Microsoft 365 sign-in page and securely log in using your Exchange administrator credentials.

3
Terminate the stuck session

Close the embedded PowerShell authentication window that is currently displaying the 'unsupported browser' error.

4
Run the connection command

Return to your PowerShell window and execute the Connect-ExchangeOnline command again. The system should now detect your active Edge sign-in session.

Pre-authenticate via Microsoft Edge
Authentication Successful: If successful, the command will complete without asking for credentials again, and you will be connected to your Exchange Online environment.
Free Microsoft Office alternative

Looking for a Reliable and Free Office Suite?

While troubleshooting Exchange Online and PowerShell issues can be highly technical, managing your everyday documents shouldn't be. WPS Office offers a completely free, lightweight, and user-friendly alternative to Microsoft Office.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install the application: Run the downloaded installer file and follow the simple on-screen instructions.
  3. 3. Start creating: Open WPS Office to instantly view, edit, and create Word, Excel, PowerPoint, and PDF documents.
A hassle-free alternative for Microsoft 365 users looking to reduce administrative and subscription overhead.Fully compatible with Microsoft Office formats, ensuring your .docx, .xlsx, and .pptx files open perfectly.Lightweight design guarantees fast installations and smooth performance without dragging down your system resources.Familiar user interface makes transitioning seamless, requiring zero learning curve for new users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Connect-ExchangeOnline open Internet Explorer instead of Edge?

Some older versions of the Exchange Online Management module or specific Windows configurations rely on legacy embedded web controls (.NET WebBrowser control) that default to the Internet Explorer engine, even if Edge is your default browser.

How do I update the Exchange Online Management module?

Open an elevated PowerShell window (Run as Administrator) and execute the command: Update-Module -Name ExchangeOnlineManagement. This ensures you have the latest Microsoft fixes for modern authentication.

Will changing my default Windows browser fix this PowerShell error?

Not always. Because the error is often tied to the hardcoded web components within the PowerShell module's authentication library, simply changing your default browser to Edge or Chrome in Windows settings might not prevent the legacy popup from appearing.