[英]Visual Studio Team Explorer lost Git authorization for Visual Studio Online
When I try to communicate with the remote repo (fetch, push, pull), I just get this exception: 当我尝试与远程repo(fetch,push,pull)通信时,我只是得到了这个异常:
TF400813: Resource not available for anonymous access. TF400813:资源不可用于匿名访问。 Client authentication required.
需要客户端验证。
I can do the same using GitExt or git bash without problems, so it seems like it's just VS that lost some setting. 我可以使用GitExt或git bash做同样没有问题,所以看起来只是VS失去了一些设置。 I can't find anywhere to "re-authenticate" or similar, though.
但是我无法找到“重新验证”或类似的地方。 I do have basic credentials set up, and am signed in with the same live id in Visual Studio.
我确实已经设置了基本凭据,并在Visual Studio中使用相同的实时ID登录。
Visual Studio uses Live ID to talk to visualstudio.com and shares the credentials with Internet Explorer for a single signon experience. Visual Studio使用Live ID与visualstudio.com交谈,并与Internet Explorer共享凭据以获得单点登录体验。 It's likely that your browser has some Live ID cookies (which is why you're not prompted), but not for the credentials you actually want to authenticate with (which is why you get permission denied).
您的浏览器可能有一些Live ID cookie(这就是您没有被提示的原因),但不是您实际想要进行身份验证的凭据(这就是您获得权限被拒绝的原因)。
Can you close Visual Studio, open Internet Explorer and explicitly log out of your Microsoft Account? 您可以关闭Visual Studio,打开Internet Explorer并明确注销您的Microsoft帐户吗?
When you restart Visual Studio, you should then be prompted for credentials when you connect to Visual Studio Online. 重新启动Visual Studio时,应在连接到Visual Studio Online时提示您输入凭据。
I had same problem and solution by Edward Thompson didn't helped me. 我有同样的问题和解决方案,爱德华汤普森没有帮助我。 However I found another one - in Visual Studio open:
但是我找到了另一个 - 在Visual Studio中打开:
Help / About Microsoft Visual Studio / License status (link in upper right corner) 帮助/关于Microsoft Visual Studio /许可证状态(右上角的链接)
There in new window in section All Accounts I had a message at my Microsft Account that I need to reenter credentials. 在所有帐户部分的新窗口中我在我的Microsft帐户上有一条消息,我需要重新输入凭据。 When I did it, I was able again to connect to Git repositories in Visual Studio Online.
当我这样做时,我又能够连接到Visual Studio Online中的Git存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.