I have a TFS 2018 on-premise server and a separate build server. The build server has an agent that appears "on-line" on the TFS server in the "Agents for pool Default" area of the collection. However, if I go to a project in that collection I do not see the agent registered in that projects "Agents for pool" section.
Do I need an agent for each project? If so, how is that separated on the build server? Is there any documentation specific to my question? I have not found any that address this specifically.
I have an older version, TFS 2015 On-Premise, so the navigation path is different. But on VSTS/Azure Devops I had the same issue and this was my solution: Go to the project that needs the Agent Pool, click on "New Agent", select "Base on existing org agent pool", select the agent pool, and then you are done. Now it should be visible to the definition.