Visual Studio 2017 - How to fix error: We could no

2019-01-25 03:49发布

My email address has changed and now I can't log into Visual Studio 2017.

The error is "We could not refresh the credentials for the account. Failed to refresh the access token".

enter image description here

How can I fix this?

12条回答
smile是对你的礼貌
2楼-- · 2019-01-25 04:02

I tried by deleting only the IdentityServiceAdalCache.cache as in the accepted answer but it did not fix the problem.

For the record, I managed to fix it by deleting every files within the .IdentityService folder (located in C:\Users{username}\AppData\Local.IdentityService).

查看更多
乱世女痞
3楼-- · 2019-01-25 04:03

I updated Visual Studio with latest package and after rebooting my PC issue was solved. I was able to log-in

查看更多
我欲成王,谁敢阻挡
4楼-- · 2019-01-25 04:11

Make sure you can access https://login.microsoftonline.com

If your network is blocking that (perhaps to block Microsoft webmail), then the above solutions will not pertain to you. Either unrestrict access, or you will need some off-line version.

查看更多
beautiful°
5楼-- · 2019-01-25 04:12

The one solution which worked for me was resetting the domain password and restarting the system. I just wanted to share this because i was struggling with the same problem since 8 days tried everything on net and this worked. Hope it helps someone :)

查看更多
Lonely孤独者°
6楼-- · 2019-01-25 04:15

In case someone is still looking for an answer. What worked for me was checking that the AppData folder and Local folder were not on 'read only mode' in the path "C:\Users{username}\AppData\Local.IdentityService" and it just worked!

查看更多
我只想做你的唯一
7楼-- · 2019-01-25 04:17
  • Check to make sure that your PC no limit(IP-Firewall) to Internet connection access.
  • Disable or turn off VPN
查看更多
登录 后发表回答