When VS Code shows 'Login failed for user <token-identified principal>. Incorrect or invalid token.' with Microsoft Entra authentication, a simple sign-out/sign-in often doesn't fix it because old or corrupted tokens survive normal re-login. The fix is to open the Command Palette and run 'Clear Microsoft Entra account token cache', then sign in again and retry the SQL connection.
218 Impressions