title: Login failed when trying to perform git push to Azure Devops
body: <p>I am on a Windows 10 machine, and this morning my git credentials were working as expected, and I was busy pushing and pulling code to our Azure Devops project. 
  Now I cannot, from this specific VM anyways. When I do <code>git pull</code> I get the standard MS authentication prompt, and I can see my MS account (which is connected to windows via our federated AD)</p>
  
  <p><a href="https://i.stack.imgur.com/dDrGB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dDrGB.png" alt="enter image description here"></a>
  I click on my account, and the prompt goes away, and I get an error in my prompt:</p>
  
  <p><code>Logon failed, use ctrl+c to cancel basic credential prompt.
  Password for 'https://myOrg@dev.azure.com':</code></p>
  
  <p>If I enter my AD password (or anything else) I get a authentication failed message. I also tried to re-enter my credentials by selecting "Use another account" in the MS sign in window, and I get the same results. </p>
  
  <p>I have seen issues that were solved by removing the cached credentials from the Credential Manager. So I go <code>Control Panel</code> -> <code>Credential Manager</code> and remove all of the credentials that are stored and try the git operation again. </p>
  
  <p>I get the same MS login window, and oddly enough my account is still there, and Connected to windows (and fails the same way when I click on it)</p>
  
  <p>So then I removed my accounts that were associated via <code>Settings</code> -> <code>Accounts</code> -> <code>Access work or school</code>. I could see my MS account there, so that looked promising, but same behaviour.
  I tried to update git (it is v2.21.0.windows.1)
  I also installed microsoft's <a href="https://github.com/Microsoft/Git-Credential-Manager-for-Windows" rel="noreferrer">git credential manager</a> as per some answers that I found on SO and microsoft's forums. 
  Still getting the same error. </p>
  
  <p>I rebooted and removed all the credentials/accounts again, then tried from Visual Studio instead of calling git from the command line.</p>
  
  <p>Same error! </p>
  
  <p>My next steps are to rebuild my Windows profile which I am hoping will reset all this stuff. I am able to access the site from another VM, so it seems to be some sort of git configuration/cached credentials on this machine. </p>
  
  <p>Any assistance/ideas are appreciated.</p>