When i'm trying to Connect-IPPSSession it is giving error

Arunala Likitha Bhavana 0 Reputation points
2025-06-05T09:15:49.3+00:00

It is giving error
WARNING: Your connection has been redirected to the following URI: "https://ps.compliance.protection.outlook.com/uc/PowerShell-LiveId"

Connect-IPPSSession : Connecting to remote server ps.compliance.protection.outlook.com failed with the following error message :

The WinRM client sent a request to an HTTP server and got a response saying the server does not support the WS-Management protocol.

This is usually returned by an HTTP server that does not support the WS-Management protocol.

For more information, see the about_Remote_Troubleshooting Help topic.

At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.0.0\netFramework\ExchangeOnlineManagement.psm1:730 char:21

  • ...PSSession = New-PSSession @PSSessionParameters
  •                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    • FullyQualifiedErrorId : -2144108526,PSSessionOpenFailed

User's image

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,972 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 119.1K Reputation points MVP Volunteer Moderator
    2025-06-06T15:47:46.6566667+00:00

    You seem to be using an outdated version of the module, can you update to the latest one and try again? https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#install-the-exchange-online-powershell-module

    0 comments No comments

Your answer

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