microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 908 forks source link

User account ‘x@y.com' not found in MSAL cache... #25939

Open peteot opened 1 month ago

peteot commented 1 month ago

User account ‘x@y.com' not found in MSAL cache, please add linked account or refresh account credentials.

This problem has been persistent for a few years, but has gotten worse. None of the solutions on related tickets have helped. https://github.com/microsoft/azuredatastudio/issues/24104# https://github.com/microsoft/azuredatastudio/issues/24894

Not a duplicate, because the other threads ask for a new issue to be opened if this recurs.

Steps to Reproduce:

  1. Connect to an Azure database.
  2. Continue working.
  3. Connect again within a few minutes to another Azure database. See error.

Or

  1. Reveal details (click wedge) of Azure SQL Database in the explorer.
  2. See error.

Yes, I have been assiduously clearing the MSAL cache for years, and the problem continues. Would really like to be able to use this tool!