Using MSDeploy behind a proxy

heroub 1 Reputation point
2021-03-29T21:08:49.683+00:00

I have a YAML pipeline using the task AzureRmWebAppDeployment@4. It is configured to use MSDeploy to an Azure slot.

This pipeline is run using on-premise agents behind a corporate proxy. The agents are run under the NETWORK_SERVICE user.

However, I'm getting timeouts. MSDeploy is not using any proxy configuration on our server.

1) There is a user specific proxy in iexplore.exe
2) I've added a proxy setting under MSDeploy.exe.config

You can see that msdeploy is trying to connect directly to Azure instead of going through the proxy.
82554-mstsc-qlmrqltla9.png

What is the best way to set up a proxy for msdeploy?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.