none
VS2017无法登陆 RRS feed

  • 问题

  • 提示
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    我们无法刷新此帐户的凭据
    AADSTS50001: The application named https://management.core.windows.net/ was not found in the tenant named 0b4a31a2-c1a0-475d-b363-5f26668660a3.  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: 7465cb57-0c60-4aaf-9cc2-969e3bfc0e00
    Correlation ID: 6a6b6e6b-ba49-45e6-9665-ca711deff826

    Timestamp: 2017-06-13 08:37:42Z
    ---------------------------
    确定  
    ---------------------------

    在其他地方可以正常登陆,在VS不行

    2017年6月13日 8:42

全部回复

  • 你好,

    针对这个问题,请尝试一下步骤:

    1. 运行VS,菜单栏中选择 Tools->Options->Synchronized Settings->Enable isolated azure instance,如果发现该选项已经勾选,请去掉勾选,重启VS。

    2. 用管理员权限运行Registry Editor。

    3.定位到路径: [HKEY_CURRENT_USER\Software\Microsoft\VSCommon\ConnectedUser]

    4. 查看该路径下是否存在以下注册表键值:

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

    5.如果存在,请将上面的键值全部删除。

    6.重启电脑,用管理员权限运行VS 并且用微软邮箱登陆,检测是否一切是否正常。

    参考:

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


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年6月14日 6:19
    版主