I am trying to configure a Linux agent for TFS 2015 update 3. When it prompts for entering information for configuration, it gives 401 error:
Raj@Ubuntu123:~/Linux_agent$ node agent/vsoagent
Enter alternate username > domain\<username>
Enter alternate password >
Enter server url > http://<hostname:port>/tfs
Enter agent name > Agent1
Enter Pool name > Linux
Enter force basic (enter is false) >
Error starting the agent
Failed Request: Unauthorized(401) - http://<hostname:port>/tfs/_apis/connectionData
Is your TFS server configured to accept Basic Authentication and does it have SSL enabled with a trusted certificate? This is an important prerequisite to use the Linux agents.
Given the URI you've posted and the fact that you're using
domain\user, I highly suspect that neither is true.
The vso-agent repository explains how to configure the Linux agent as well as the TFS server. With the next major version of TFS the build agent will support NTLM, which will forego this requirement.