2

I'm getting below error while trying to clone a branch from https://microsoftit.visualstudio.com/ in Visual Studio 2019 Team Exploprer.

enter image description here

How to resolve that?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Chandra sekhar
  • 356
  • 2
  • 12

1 Answers1

0

Update:

Op verified after rebooted the system, it started working again. Everything went back to the track.


According to your description "Earlier in another system I used to clone code." and error message in the screenshot.

This should be a client related issue. Mainly caused by the credentials have been cached by Credential Manager. You should remove the credentials for https://microsoftit.visualstudio.com/ which have been stored in Credential Manager.

Besides, just as Shamrai Aleksander mentioned in the comment, you could also give a try with other option in similar issue here: Git failed with a > fatal error. could not read Username for

Managed to fix this issue by deleting a this file: "C:\Users(profile)\AppData\Local\GitCredentialManager\tenant.cache". On the next retry, a GIT entry showed up in my Windows Credentials generic list.

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62