Unable to connect to Exchange Online Powershell

Micael Ondoa 20 Reputation points
2023-10-27T14:39:42.4666667+00:00

Hello,

I am unable to login to Exchange Online Powershell using the following steps. I am a global admin and the Powershell is opened in elevated mode.

I enter the code below

Connect-ExchangeOnline -UserPrincipalName <mylogin>

Then the login opens and I select my user

User's image

It loads for some time then closes and I get the following message in Powershell


This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure. Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets. V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently. REST backed EOP and SCC cmdlets are also available in the V3 module. Similar to EXO, the cmdlets can be run without WinRM basic auth enabled. For more information check https://aka.ms/exov3-module

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Windows for business | Windows Server | User experience | PowerShell
{count} votes

Answer accepted by question author
  1. Vasil Michev 123.6K Reputation points MVP Volunteer Moderator
    2023-10-27T16:21:05.8866667+00:00

    That's pretty much what should happen. Have you tried running any cmdlet, say Get-Mailbox?


1 additional answer

Sort by: Most helpful
  1. Wael H. Ismail 0 Reputation points
    2025-09-04T08:13:26.68+00:00

    Horrible banner massage!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.