User account '******@myorg.com' not found in MSAL cache?

red stone 1 Reputation point
2023-09-25T15:37:27+00:00

This used to work, but today I get this error when trying to open our company MS Sql server in azure data studio on mac:

User account '******@myorg.com' not found in MSAL cache, please add linked account or refresh account credentials.

How do I work around this?

I've tried killing/restarting Azure Data studio of course.

User's image

Azure Data Studio
Azure Data Studio

A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.


6 answers

Sort by: Newest
  1. Erin Stellato 746 Reputation points Microsoft Employee
    2023-10-02T18:50:15.21+00:00

    Hi @Red stone Can you try clearing the token cache (go to Ctrl/Cmd + Shift + P) and then entering Azure Accounts: Clear Token Cache and running the command? You'll then need to restart ADS. If this continues, can you please share OS Platform and ADS version? The latest version of ADS is 1.46.

    Was this answer helpful?

    10+ people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.