VS30063:您没有权限访问https://开头XXXXX-TFS

Thi*_*ta 4 tfs build-agent azure-pipelines

尝试配置生成代理时,我收到以下错误。以下是我使用的命令,请咨询如何解决这个问题。

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.
Run Code Online (Sandbox Code Playgroud)

Mar*_*Liu 5

它多因匿名身份验证被禁用。

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

在此处输入图片说明