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.59k stars 909 forks source link

Cannot find database in tenant #25960

Closed NairuSs closed 1 month ago

NairuSs commented 1 month ago

OS Version: macOS Sequoia 15.0.1 (24A348) Azure Data Studio Version: 1.49.1 Commit: 2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd Date: 2024-08-13T18:03:28.478Z VS Code: 1.82.0 Electron: 25.9.8 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Darwin arm64 24.0.0

Steps to Reproduce:

  1. Add Azure account
  2. Authorize using the browser
  3. Add Microsoft SQL Server database

Details:

Does this issue occur when all extensions are disabled?: Yes

Image Image

NairuSs commented 1 month ago

The solution was not just to delete the account and login again, but clear the token cache as described here: Link