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重新登錄后正常使用。



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM