Powershell Invoke-RestMethod from VSTS build step fails with error 417
问题 We bought ourselves a Lametric clock (www.lametric.com) which supports displaying messages sent to it through a Web-API. We would like to integrate this into our CI/CD queue. For that we have written a Powershell script, which will send a specified notification. This script works fine, when executed locally. When executed from a (local) VSTS Build Agent, it fails with a status code 417. This is the powershell script: Param ( [Parameter(mandatory=$true)] [string] $BuildName, [Parameter