I am trying to use the cmdlet Connect-IPPSSession but am presented with the following error
WARNING: Your connection has been redirected to the following URI: "https://eur03b.ps.compliance.protection.outlook.com/Powersh
ell-LiveId?BasicAuthToOAuthConversion=true;PSVersion=5.1.17763.2931 "
New-ExoPSSession : Processing data from remote server eur03b.ps.compliance.protection.outlook.com failed with the following
error message: The request for the Windows Remote Shell with ShellId 823EF06E-77D1-47AF-90FA-563D68D5A23E failed because the
shell was not found on the server. Possible causes are: the specified ShellId is incorrect or the shell no longer exists on
the server. Provide the correct ShellId or create a new shell and retry the operation. For more information, see the
about_Remote_Troubleshooting Help topic.
At C:\Program Files\WindowsPowerShell\Modules\Exchangeonlinemanagement\2.0.6\netFramework\ExchangeOnlineManagement.psm1:578
char:30
- ... $PSSession = New-ExoPSSession -ConnectionContext $ConnectionContext
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException
- FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Manag
ement.ExoPowershellSnapin.NewExoPSSession