TFS服务器的VSTS身份验证失败.请检查您的设置. TFS代理错误 [英] VSTS-Authentication with TFS Server failed. Please check your settings. TFS agent error

查看:215
本文介绍了TFS服务器的VSTS身份验证失败.请检查您的设置. TFS代理错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用触发器成功运行了两个版本,但是第三个版本在触发器上失败,并显示错误使用TFS服务器的身份验证失败.请检查您的设置."?有什么解决办法吗?

Two builds runs successfully using triggers but the third build faild on trigger and give error "Authentication with TFS Server failed. Please check your settings."? any solution?

推荐答案

这是身份验证问题,该消息明确指出了故障排除选项:

This is an Authentication issue, the message explicitly pointed out the troubleshooting options:

  • If you use the OAuth Token, make sure you enabled the access to it on the Build Definition (Which mentioned in @ChamindaC's answer above : enable "Allow Scripts to Access OAuth Token" in the build definition.).
  • If you use a Personal Access Token, make sure it did not expire.
  • If you use Basic Authorization, make sure alternate credentials are enabled on your TFS/VSTS

根据您的评论,似乎您正在使用PAT,然后只是检查PAT是否过期,或者只是尝试添加新的PAT,然后使用新的PAT重新尝试.

Based on your comments, seems you are using PAT, then just to check if the PAT is expired or not, or just try adding a new PAT, then try it again with the new PAT.

这篇关于TFS服务器的VSTS身份验证失败.请检查您的设置. TFS代理错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆