An attempt to communicate with Azure DevOps failed because a token could not be retrieved
You may try the following items:
- Go to Control Panel -- Credential Manager, and remove all Windows Credentials related to TFS.
- Close all Visual Studio instances, delete %LOCALAPPDATA%.IdentityService if it exists.
- Clear TFS caches %LOCALAPPDATA%\Microsoft\Team Foundation\x.0\Cache
- As @4c74356b41 mentioned, repair VS.