【问题标题】:401 - Unauthorized: Access is denied due to invalid credentials when Trying to access the TFS API by postamn401 - 未经授权:尝试通过 postamn 访问 TFS API 时,由于凭据无效,访问被拒绝
【发布时间】:2018-02-13 14:05:46
【问题描述】:

当我尝试通过 Postman
https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql

访问 TFS API 时,我收到 401 - Unauthorised: Access is denied due to invalid credentials 错误

这是我放入我的邮递员
http://apactfs.cbre.com:8080/tfs/applications/DefaultCollection/_apis/wit/workitems?ids=297,299,300&api-version=1.0


邮递员图片

【问题讨论】:

  • 您使用的是哪个版本的 TFS?
  • 版本是2015

标签: visual-studio api visual-studio-2015 tfs postman


【解决方案1】:

您需要转到授权选项卡选择Basic Auth并在此处指定用户名和密码:

确保您已为您的 TFS 启用基本身份验证:

【讨论】:

猜你喜欢
  • 2018-10-17
  • 1970-01-01
  • 2012-04-20
  • 1970-01-01
  • 2023-03-24
  • 1970-01-01
  • 2021-05-19
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多