更改主要帐户别名后,如何连接到Teamproject? [英] How do I connect to my Teamproject, after I changed my primary Account Alias?
问题描述
几天前,我更改了Microsoft帐户的主要别名.现在,我想签入我的代码,并得到一些错误消息:
A few days ago I changed my primarly alias for my Microsoft Account. Now I want to checkin my code, and get some error messages:
由于无法检索令牌,因此尝试与Visual Studio Team Services通信失败.
An attempt to communicate with Visual Studio Team Services failed because a token could not be retrieved.
您无权访问[...]
You are anot authorized to access [...]
这是一张照片:
根据建议,我已经尝试过重新输入我的凭据.但这没有效果.我已经尝试关闭Visual Studio,重新启动PC,但是没有任何帮助. 我该如何解决这个问题?
As suggested, I already tried re-entering my credentials. But this has no effect. I already tried closing Visual Studio, restarted my PC, but nothing helps. How can I solve the problem?
推荐答案
关闭Visual Studio后,我通过删除以下文件夹解决了该问题:
I solved the issue by deleting the following folder after I have closed Visual Studio:
%LOCALAPPDATA%\.IdentityService
然后,我再次打开Visual Studio,然后单击管理连接":
Then I opened Visual Studio again, and clicked Manage Connections:
最后,我再次连接到我的Microsoft帐户,重新启动了Visual Studio,并能够检入我的代码.
Finaly I have connected again to my Microsoft Account, restarted Visual Studio and was able to check in my code.
这篇关于更改主要帐户别名后,如何连接到Teamproject?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!