Invoke-Webrequest fails from deployment step.. works in script console

Hi Guys,

I have a script which I can run from the script console. It calls an API using Invoke-Webrequest. But when I run it as a “Run A Script” task inside my deployment, I get

“unable to connect to the remote server”

Can any one give me some possible causes?

Hi @paulskin,

Thanks for getting in touch! This may be due to the account running the Tentacle service. Any scripts run on a Tentacle are executed by the user running the service.

You will need to confirm that the account running the Tentacle service has appropriate permissions to execute the script.

Let me know if you have any trouble with this or any further questions here.

Best regards,
Daniel

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.