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

"Connect with Azure Data Studio" from Azure Portal fails to save connection #16935

Open SeanKilleen opened 3 years ago

SeanKilleen commented 3 years ago

Issue Type: Bug

Initial Report

Expected behavior: Be able to expand to see individual servers under the server group, or see them by default.

Actual Behavior: Only see server group, no individual servers, and cannot connect to any of the servers I created.

Revised Report

After further exploration. Interestingly, I realized there was something different about this than I'd originally indicated.

Rather than creating the connection, I'm using Connect using.... in the Azure Portal and selecting Azure Data Studio, which then pre-populated some of the information.

It looks like regardless of whether I use a server group, the issue is actually that anytime I use the "connect from" and create a connection, it's not created.

Reproduction steps:

Expected behavior: Connection staved

Actual Behavior: Connection not saved; won't work unless I manually click "new connection" and enter information.

Azure Data Studio version: azuredatastudio 1.32.0 (4a45ba7cf20dd4129f1a08e5e776dfb33e3d1d1e, 2021-08-16T18:08:28.086Z) OS version: Windows_NT x64 10.0.19043

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 x 3410)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|31.94GB (12.10GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (1) Extension|Author (truncated)|Version ---|---|--- azuredatastudio-postgresql|Mic|0.2.7
SeanKilleen commented 3 years ago

Some screenshots in case I'm missing something:

image

image

image

image

image

SeanKilleen commented 3 years ago

Interestingly, I realized there was something different about this than I'd originally indicated.

Rather than creating the connection, I'm using Connect using.... in the Azure Portal and selecting Azure Data Studio, which then pre-populated some of the information.

It looks like regardless of whether I use a server group, the issue is actually that anytime I use the "connect from" and create a connection, it's not created.

I'll update the ticket title and description accordingly.