itye1970
itye1970

Reputation: 1975

VSTS/Azure Devops Build Agent Failed to Connect when configuring

I have created a PAT token, Downloaded the latest build agent, run config.cmd

I then paste in my url eg https://dev.azure.com/mycompany/_admin/_AgentPool

I Enter the PAT Token i generated earlier which has FULL access

But then i Get Failed to connect. Try again or CTRL-c to quit??

I can access the URL fine via a browser

Upvotes: 1

Views: 1781

Answers (1)

4c74356b41
4c74356b41

Reputation: 72151

your url should be https://dev.azure.com/mycompany.

Reading: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops#server-url-and-authentication

Upvotes: 3

Related Questions