We are getting below error while creating Mailbox on Microsoft Exchange server using c# utility :
Caught exception in remote runspace creation System.Management.Automation.Remoting.PSRemotingTransportRedirectException: The WinRM service cannot process the request because the request needs to be sent to a different machine.
Use the redirect information to send the request to a new machine. Redirect location reported : https://machine address/PowerShell-LiveID?PSVersion=5.1.17763.5458 ."
Note : This command is run from a c# utility which uses the same powershell command like creating powershell session, giving credentials and all and working direct from the powershell.