Connect-ExchangeOnline doesn't work on server 2012

Stephen 1 Reputation point

Trying to run Connect-ExchangeOnline on an Exchange server 2012 and received the following error message...

It is an Exchange server running Windows Server 2012 Standard with Microsoft Exchange Server 2013 installed.

  • Firewall is not being blocked. Firewall is disabled on the server.
  • I was able to connect to Exchange Online from other machines in the same network (So I know the firewall is not being blocked)

New-ExoPSSession : An error occurred while sending the request..
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.3\Ex
changeOnlineManagement.psm1:426 char:30

  • ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • CategoryInfo : NotSpecified: (:) [New-ExoPSSession], Exception
  • FullyQualifiedErrorId : System.Exception,Microsoft.Exchange.Management.E

Thank you,

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,096 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Stephen 1 Reputation point

    We have ExchangeOnlineManagement 2.0.3 installed.

    And I tried using ExchangeOnlineManagement 2.0.5, but I still received the same error message.


    No comments

  2. Andy David - MVP 110.1K Reputation points Microsoft MVP
    No comments