VS2017试用期到期后登录微软账户出现错误解决方法

关于使用VS2017试用期一个月到后,需要登录微软账户后进行认证后才能重新使用,但是登录成功后出现如下错误

We could not refresh the credentials for the account AADSTS50001: The application named https://management.core.windows.net/ was not found in the tenant named 0b4a31a2-c1a0-475d-b363-5f2666866a3. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant.

Trace ID: 089f680c-4279-4932-a5c2-60383476e969

Correlation ID: f8110d88-e4f5-4edb-a77d-6fb2b7f4c79d

Timestamp: 2017-01-08 18:10:29Z

 

参考网址:https://developercommunity.visualstudio.com/content/problem/7675/cant-sign-into-accounts.html?childToView=17494

解决方法:

打开注册表:  HKEY_CURRENT_USER\Software\Microsoft\VSCommon\ConnectedUser

删除以下注册表

"AadInstance"="https://login.chinacloudapi.cn/"
"adaluri"="https://management.core.chinacloudapi.cn"
"AzureRMEndpoint"="https://management.chinacloudapi.cn"
"AzureRMAudienceEndpoint"="https://management.core.chinacloudapi.cn"
"GraphUrl"="graph.chinacloudapi.cn"

保留:
"EnableAzureRMIdentity"="true"  如果删除这一项会导致Azure RM不能正常工作

删除后结果如下:

 

打开VS2017重新登录后正常使用。


转载于:https://www.cnblogs.com/fuyanwen/p/7290068.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值