title: Permissions to register a new agent to an agent pool
body: <p>I am attempting to register an agent to an agent pool in an on-premises Azure DevOps instance (version 17.143.28621.4) , following the <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops" rel="nofollow noreferrer">current documentation</a>.</p>
  <p>I didn't create the agent pool, but the server administrator has added me as an administrator of the pool - which according to the documentation is the only permission needed to register an agent.</p>
  <p>However, when I attempt to register the agent using the command-line tool, I get the following error:</p>
  <blockquote>
  <p>Connecting to the server. Access denied. Harper, Ed needs Manage
  permissions for pool  to perform the action. For more
  information, contact the Azure DevOps Server administrator.</p>
  <p>Failed to add the agent.  Try again or ctrl-c to quit</p>
  </blockquote>
  <p>The server admin also tried adding me to the <code>build administrators</code> group for the project associated with the agent pool. This had no effect and I got the same error.</p>
  <p>What permission/role membership do I need to add agents to the pool?</p>