title: Visual Studio Code - Authentication Error
body: <p>I am using VSCode and started getting the following error when launching VSCode:</p>
  <p><code>You have been signed out because reading stored authentication information failed.</code></p>
  <p>I checked the &quot;Microsoft Authentication&quot; output and see the following being logged:</p>
  <pre><code>[Info  - 12:53:11.944] Reading sessions from secret storage...
  [Info  - 12:53:12.8] Got 2 stored sessions
  [Trace  - 12:53:12.8] Read the following stored session with scopes: email offline_access openid profile
  [Info  - 12:53:12.8] Refreshing token for scopes: email offline_access openid profile
  [Trace  - 12:53:12.9] Read the following stored session with scopes: email offline_access openid profile
  [Info  - 12:53:12.9] Refreshing token for scopes: email offline_access openid profile
  [Error  - 12:53:12.381] Refreshing token failed (for scopes: email offline_access openid profile): {&quot;error&quot;:&quot;invalid_grant&quot;,&quot;error_description&quot;:&quot;AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2022-01-18T01:28:57.1010000Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2022-03-17T00:24:27.0000000Z'.\r\nTrace ID: 61f7c850-e661-4df6-804d-b09ac98a4300\r\nCorrelation ID: 52be35ff-e99b-4b53-9dbb-2dba8582d605\r\nTimestamp: 2022-03-21 12:53:12Z&quot;,&quot;error_codes&quot;:[50173],&quot;timestamp&quot;:&quot;2022-03-21 12:53:12Z&quot;,&quot;trace_id&quot;:&quot;61f7c850-e661-4df6-804d-b09ac98a4300&quot;,&quot;correlation_id&quot;:&quot;52be35ff-e99b-4b53-9dbb-2dba8582d605&quot;,&quot;error_uri&quot;:&quot;https://login.microsoftonline.com/error?code=50173&quot;}
  [Error  - 12:53:12.382] Error: Refreshing token failed
  [Info  - 12:53:12.382] Logging out of session 'f140c6a2-c524-4206-9a98-2b24b0c5a952/3046af31-b03b-4dec-ac69-5e441c677bfa/cdcd3466-2921-45ce-b841-62e6f5e4151a'
  [Info  - 12:53:12.382] Session not found 'f140c6a2-c524-4206-9a98-2b24b0c5a952/3046af31-b03b-4dec-ac69-5e441c677bfa/cdcd3466-2921-45ce-b841-62e6f5e4151a'
  [Info  - 12:53:12.423] Setting token for scopes: email offline_access openid profile
  [Info  - 12:53:12.423] Token refresh success for scopes: email offline_access openid profile
  [Info  - 12:53:12.425] Getting sessions for the following scopes: email offline_access openid profile
  [Info  - 12:53:12.425] Got 1 sessions for scopes: email offline_access openid profile
  [Info  - 12:53:12.425] Token available from cache (for scopes email offline_access openid profile), expires in 3756998 milliseconds
  </code></pre>
  <p>I do not recall having to log into any Microsoft environment to use VSCode, and not sure how to check or reset password to resolve this.</p>
  <p>VSCode version:</p>
  <pre><code>Version: 1.65.2 (user setup)
  Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
  Date: 2022-03-10T14:33:55.248Z
  Electron: 13.5.2
  Chromium: 91.0.4472.164
  Node.js: 14.16.0
  V8: 9.1.269.39-electron.0
  OS: Windows_NT x64 10.0.19042
  </code></pre>