title: Visual Studio 2017 - How to fix error: We could not refresh the credentials for the account
body: <p>My email address has changed and now I can't log into Visual Studio 2017. </p>
  
  <p>The error is "We could not refresh the credentials for the account. Failed to refresh the access token".</p>
  
  <p><a href="https://i.stack.imgur.com/i0Tyb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/i0Tyb.png" alt="enter image description here"></a></p>
  
  <p>How can I fix this?</p>