TFS2012 LabDefault.11 template deploy scripts fail with “Team Foundation Server could not complete the deployment task”

后端 未结 5 719
醉酒成梦
醉酒成梦 2021-01-21 11:10

I am having security issues with lab management and standard environments.

I have TFS2012 update 2 installed in my domain \"DevDomain\". I have a separa

5条回答
  •  甜味超标
    2021-01-21 12:07

    I have a workgroup environment without a domain, and it turns out that I had created the local account (.\tfslab) and had the TFS Test Controller setup with the use this account for lab management (.\tfslab) but I had forgotten to set each of the test agents services to run under the local machine account.

    To troubleshoot this issue I highly recommend changing the 'Deployment script and arguments' to the following command:

    cmd /c whoami

    See additional troubleshooting steps here: http://social.msdn.microsoft.com/Forums/vstudio/en-US/f46dc491-87c2-4234-8566-99b25302020e/deployment-tasks-run-under-nt-authoritysystem?forum=tfsbuild

    For folks who are running into issues with workgroup configurations (non-Domain) in the future don't forget to update the following services such that:

    The Visual Studio Lab Agent Service 'Log On Account' is changed from 'local system account' to 'This Account' and specify the local machine account '.\tfslab'

    The Visual Studio Lab Network Agent Service 'Log On Account' is changed from 'local system account' to 'This Account' and specify the local machine account '.\tfslab'

提交回复
热议问题