Visual Studio 2017 - Cannot sign in using Windows Account RRS feed

  • Question

  • Installs fine until comes to sign in, once I attempt to sign in I then get then prompted with the following error:-

    We could not refresh the credentials for the account Failed to refresh access token. AADSTS900002: No service namespace named '(GUID)' was found in the data store.


    Tuesday, April 4, 2017 3:54 PM

All replies

  • Hi Aaron,

    Thank you for posting in MSDN forum.

    Please try steps as below:

    1. Close all Visual Studio instances.

    2. Delete %LOCALAPPDATA%\.IdentityService.

    3. Reboot your computer and restart VS to sign in, check if it works fine.

    Best Regards,

    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.

    • Proposed as answer by 宝宝徐 Friday, April 7, 2017 1:55 AM
    Wednesday, April 5, 2017 8:17 AM
  • I have exactly the same error. Doing these steps does not fix it. 

    Anything else I can try?

    Tuesday, May 16, 2017 3:37 AM
  • I have read dozens of posts on this topic discussing clearing <g class="gr_ gr_42 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="42" id="42">out .</g>IdentityService. I tried every variation of this solution that one might think of. None worked.

    I ended up poking around and trying to manually <g class="gr_ gr_22 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="22" id="22">login</g> to my Microsoft account using Internet Explorer, but I could not connect to https://login.microsoftonline.com. I added the https://login.microsoftonline.com address to my Trusted Sites in Internet Options. Once I had done this, Visual Studio was able to connect to Microsoft and validate my account.

    Tuesday, January 30, 2018 12:39 AM