1
votes

I am trying to set up a TFS build server [on premise 2015]. The source is located on another server [TFS 2013]. While configurig build agent, an error occurs with below message.

Make sure you are using account server url (ex. https://account.visualstudio.com) not a collection server url (ex. https ://account.visualstudio.com/defaultcollection) to configure the agent. API resource location a8c47e17-4d56-4a56-92bb-de7ea7dc65be is not registered on /tfs

Could anyone shed some light please.

1
Note: I have given account server url while configuring, not collection url as error message suggests. tfsserver:port/tfsLinse Jose
Are you configuring a XMAL build agent or vNext build agent?Eddie Chen - MSFT

1 Answers

0
votes

First make sure you are using /ServerUrl:ServerUrl during the configuration.

For troubleshooting configuration errors, detailed logs can be found in the _diag folder under the agent installation directory.

Before you begin, make sure your build agent machine is set up with:

Requirements:

  • An operating system that is supported by Visual Studio 2013 or newer
  • Visual Studio 2013 or Visual Studio 2015
  • PowerShell 3 or newer (Where can I get a newer version of PowerShell?)

Please also take a look at the detail steps for deploy and config build agent in this tutorial: Deploy an agent on Windows for on-premises TFS 2015

Also not suggest you to deploy the build agent on another TFS server. Particularly, if there are 2013 build agents on the server. This may cause some confusion. Moreover, for TFS2015 it's agent based, doesn't have Controllers and you can install multiple agents on a single machine. Agents are grouped in Pools and live at the Server level, allowing you to use them across collections. There is no need to use physical machines economically.