see:
https://learn.microsoft.com/en-us/exchange/troubleshoot/administration/invalidshellid-error-in-rps
unable to connect to IPPSSession
Hi All
i am getting below error. please guide me
PS C:\windows\system32> Connect-IPPSSession
WARNING: Your connection has been redirected to the following URI: "https://amb11b.ps.compliance.protection.outlook.com/Powershell-LiveId?BasicAuthToOAuthConversion=true;PSVersion=5.1.17763.2931 "
New-ExoPSSession : Processing data from remote server amb11b.ps.compliance.protection.outlook.com failed with the following error message: The request for the Windows Remote Shell with ShellId IAFAEA5E-A87F-4C29-9H38-52AFA2219F71
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.5\netFramework\ExchangeOnlineManagement.psm1:475 char:30
- ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException
- FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoPSSession
Exchange Online
Exchange | Exchange Server | Management
Microsoft 365 and Office | SharePoint | For business | Windows

-
Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
2022-11-24T13:01:41.957+00:00