4

I'm getting following error when try to configure the build agent. Following is the commands I used, Please advice how to resolve this.

C:\agent>config

>> Connect:

Enter server URL > https://xxxx-tfs-1
Enter authentication type (press enter for Integrated) >
Connecting to server ...

>> Register Agent:

Enter agent pool (press enter for default) >
Enter agent name (press enter for xxxx-TFS-1) >
Scanning for tool capabilities.
Connecting to the server.
Enter replace? (Y/N) (press enter for N) > y
Successfully replaced the agent
Testing agent connection.
VS30063: You are not authorized to access https://xxxx-tfs-1.

1 Answers1

7

It’s usually caused by Anonymous Authentication is disabled.

On your TFS server -> Internet Information Services (IIS) manager -> Authentication -> change Anonymous Authentication is enabled.

enter image description here

Marina Liu
  • 36,876
  • 5
  • 61
  • 74