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
When i'm trying to Connect-IPPSSession it is giving error
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
PowerShell
1 answer
Sort by: Most helpful
-
Vasil Michev 119.1K Reputation points MVP Volunteer Moderator
2025-06-06T15:47:46.6566667+00:00