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

MSAL Cache #25953

Open savellino opened 1 month ago

savellino commented 1 month ago

Type: Bug

Add user. Add connection. Complete entra id account or link account. Press connect. Error shows Microsoft.Data.SqlClient.SqlException (0x80131904): User account 'my@account' not found in MSAL cache, please add linked account or refresh account credentials.

Azure Data Studio version: azuredatastudio 1.49.1 (2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd, 2024-08-13T18:12:38.831Z) OS version: Windows_NT x64 10.0.22631 Restricted Mode: No Preview Features: Enabled Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (8 x 2304)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.84GB (17.14GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions: none
aersam commented 4 days ago

I have this, too, on a Clean New Windows 11 Machine. I got the same also on my old windows 10 machine.

My account is in multiple tenants (as guest user), is that maybe the issue?