If you experience that VS wants to refresh your credentials in eternal loop. Or you refresh and it goes back to wanting to refresh again there is a big chance that this will help you.
To verify if you have the same trouble I had, check the latest log-file in %TEMP%\servicehub\logs. If there is an error and it is something like “multiple_matching_tokens_detected” it is the same thing.
Fix? Reset the credential cache:
- Close Visual Studio
- Delete %LOCALAPPDATA%\.IdentityService
Worked for me 🙂