4

尝试配置构建代理时出现以下错误。以下是我使用的命令,请建议如何解决这个问题。

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.
4

1 回答 1

6

它通常是由禁用 匿名身份验证引起的。

在您的 TFS 服务器上 -> Internet 信息服务 (IIS) 管理器 -> 身份验证 -> 更改匿名身份验证已启用。

在此处输入图像描述

于 2017-03-08T07:38:28.723 回答