Endpoint Listening Error

Hi Support team,
I am a .net developer, I am doing Automation using Power CLI, The following command Working as expected in a PowerShell Script when I run manually.
Connect-HVServer -server '##' -User '##' -Password '##'

I am getting the endpoint listening error When I am calling the above PowerShell Script using  .net Web API  which is hosted in IIS(Server2016)
Please see the below error
There was no endpoint listening at https://XXX/view-vlsi/sdk that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

Kindly help me to solve this issue.

0 Kudos
0 Replies