尝试与Azure DevOps通信失败,因为无法检索令牌 [英] An attempt to communicate with Azure DevOps failed because a token could not be retrieved

查看:85
本文介绍了尝试与Azure DevOps通信失败,因为无法检索令牌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我控制的项目是Azure DevOps.每次当我在Visual Studio中打开其中一些解决方案时,在团队浏览器中都会出现以下错误:

I have projects that I have controlled be Azure DevOps. Every time when I open some of these solutions in the Visual Studio I get following error in the team explorer:

因此,当我重新输入凭据时,我再次遇到相同的错误.但是,当我重新启动Visual Studio时,我的项目突然正确连接到Azure DevOps.

So when I re-enter my credentials I get the same error again. But when I restart Visual Studio my project is suddenly properly connected to Azure DevOps.

您能告诉我为什么会有这个问题以及如何解决吗?

Could you tell me why I have this issue and how to solve it?

推荐答案

您可以尝试以下各项:

  1. 转到控制面板-凭据管理器",然后删除所有与TFS相关的Windows凭据.
  2. 关闭所有Visual Studio实例,删除%LOCALAPPDATA%.IdentityService(如果存在).
  3. 清除TFS缓存%LOCALAPPDATA%\ Microsoft \ Team Foundation \ x.0 \ Cache
  4. 如@ 4c74356b41所述,修复VS.

这篇关于尝试与Azure DevOps通信失败,因为无法检索令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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