An attempt to communicate with Azure DevOps failed because a token could not be retrieved

后端 未结 4 1316
半阙折子戏
半阙折子戏 2021-02-19 07:22

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:

<

4条回答
  •  悲哀的现实
    2021-02-19 07:50

    The same issue is still occurring in 2021. I had tried the sign out/sign in method, I had tried the local app data deletion method. No luck with either.

    What worked for me were the following steps.

    • Click on your name in the top right corner of Visual Studio and select Account Settings
    • Now rather than signing out, look below this to the All Accounts section. On some it will say "We need to refresh the credentials for this account"
    • Re-enter your credentials here.

    This fixed the issue for me. I hope this helps someone else with this annoying issue.

提交回复
热议问题