dyn365-ce-vsts-tasks icon indicating copy to clipboard operation
dyn365-ce-vsts-tasks copied to clipboard

Authenticated proxy

Open giuliov opened this issue 4 years ago • 1 comments

We face an issue with our company web proxy, which requires authentication. I found no parameter for proxy credentials in the Tasks; in PowerShell scripts, we add something like this

[System.Net.WebRequest]::DefaultWebProxy = [System.Net.WebRequest]::GetSystemWebProxy()
[System.Net.WebRequest]::DefaultWebProxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials

before using Invoke-WebRequest.

Can we have something similar for Power DevOps Tools ?

giuliov avatar Jun 15 '20 15:06 giuliov

We run into a similar issue. The tasks don't seem to be using the agent's proxy configuration as described here https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/proxy?view=azure-devops&tabs=windows.

For us it would be nice if the tasks would use the proxy configuration as set for the agent

jeroenpasman avatar Sep 29 '20 08:09 jeroenpasman