Firstly, we didn't have any build on TFS 2013. After upgrade to TFS 2015 with update 2.1 , I downloaded a Build Agent and configured on different server. I have followed the steps with MSDN article on setting up Build on TFS 2015. When I Queue the build we receive Build Failed message with the following
Unable to obtain an authenticated token for running job Build with plan type Build and identifier Project Collection Build Service (TEAM FOUNDATION).
I have done the following to try it to make build Working Windows service runs on (Domain\TFSBuild)
Added "Project Build Service" to Agent Queue Users
Added TFSBuild to Agent Queue Users.
Added TFSBuild to have access contributor permission to Project collection
Added "Project Build Service" to queue, manage edit and read source on Project collection.
I have made the TFSBuild service account to have interactive logon permission.
All the above didn't work. I have also tried solution
Any suggestion or please help is much appreciated.