Jun 09 2021 09:44 AM
Hi,
I'm trying to run a script that uses Set-Mailbox and Set-MsolUser. Every 2 minutes or so I get the following and then script carries on:
Creating a new Remote PowerShell session using MFA for implicit remoting of "Set-Mailbox" command
Then after about 10 minutes the script will crash with this error:
Starting a command on the remote server failed with the following error message : The I/O operation has been aborted because of either a thread exit or an application request. For more information, see the about_Remote_Troubleshooting
Help topic.
+ CategoryInfo : OperationStopped: (outlook.office365.com:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : outlook.office365.com
Any ideas as I've tried changing the PSSession idletimeout.
Jun 09 2021 10:44 AM
Jun 10 2021 08:12 AM