azureazure-devopsazure-pipelines-release-pipelineendpoints

VSTS - Azure end point issue


I am currently getting the following error on VSTS when trying to do publish a release to a Azure:

The release definition cannot be saved because the environment 'App-Service-Template' references a service endpoint that is in dirty state. Update the endpoint(s) and retry the operation. Details: 'System.Collections.Generic.List`1[System.String]'

I have tried the following troubleshooting steps and still get the same error:

I am all out of ideas. Any Help would be appreciated.

Cheers


Solution

  • What ultimately fixed this issue for us was abandoning and deleting the failed releases, and then a new build and release triggered from that new build.

    (one weird quirk we encountered was that the release sat in the last stage for over 8 minutes: 'wait for console output from agent'... when I left the release and came back it said successful with the last stage only taking 27 seconds)

    We had the exact same error. I also ran through the points on your list with no luck, before arriving at the solution with a new build and release.