Visual Studio 2017 - Cannot sign in using Windows Account


  • 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 04, 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

    Wednesday, April 05, 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