I'm having trouble with the Connect-IPPSSession command in PowerShell. Every time I try to run it, I encounter this error: 'A task was canceled.' Here's the output I see:
PS C:Windowssystem32> Connect-IPPSSession
A task was canceled.
At C:UsersuserDocumentsWindowsPowerShellModulesExchangeOnlineManagement3.6.0netFrameworkExchangeOnlineManagement.psm1:762 char:21
+ throw $_.Exception.InnerException;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], TaskCanceledException
+ FullyQualifiedErrorId : A task was canceled.
This is a new issue for me, and I'm hoping to find out if anyone else has faced this or knows how to fix it.
2 Answers
Have you checked which version of the Exchange Online PowerShell module you’re currently using? Running an outdated version might cause issues with commands like Connect-IPPSSession. Make sure you're on a recent version.
Also, have you tried running the command in PowerShell 7? Sometimes certain commands behave differently in various versions of PowerShell, and that might resolve your issue.
Yes, I get the same problem there too.
I’m using version 3.9.