While executing a Poweshell Workflow activity if you see following error Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. —> System.Management.Automation.PSInvalidOperationException: There is no Runspace available to run scripts in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted…