VSTS: Deployment on this environment was cancelled RRS feed

  • Question

  • We are trying to setup a continuous build/release process using VSTS to do the build and then release to our local environment using the Agent method as described in this documentation and a few Channel 9 videos. 

    The agent is recognized but any attempt to release any builds or perform any tasks fails with a message of "Deployment on this environment was cancelled." with no further information given.

    Any help as to what might be a cause for this recurring error would be appreciated.



    Tuesday, February 9, 2016 3:34 PM

All replies

  • Hi Derek,

    According to your description, you are using Visual Studio Team Service, the Visual Studio Team Service is the better place for this issue and I will move it there for you.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 11, 2016 6:46 AM
  • Greetings,

    Sorry for delay in response.

    Please provide more information it will help us to drilldown the issue.

    send us an email to v-suhp at Microsoft dot com with agent logs, by following these steps:

    1. Clean “_diag” folder, in the agent path.

    2. Run queue a release and wait for its completion.

    3. Pick up all the contents of the “_diag” folder and send us as a zip.

    Additionally, provide us with the releaseId and  vsts(vso) account’s id.


    Friday, February 26, 2016 10:21 AM
  • well how about I am also having this issue.. I am deploying Notepad as a windows service...

    with powershell ... the shell scripts work fine when I use psexec..

    Friday, May 26, 2017 5:21 PM