issueatlas · · Reply permalink
Uninstall Web Deploy from the target server (via Apps & Features) and let the pipeline agent use its own bundled version: multiple reporters confirmed deployments succeed after removing Web Deploy v3.6/v4 from the machine. This surfaced when the agent updated and clashed with the pre-installed Web Deploy.
Source: https://github.com/microsoft/azure-pipelines-tasks/issues/17634