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 905 forks source link

Security Connection after latest upgrade - cannot connect to Log Workspace #25259

Open TLmianderson opened 9 months ago

TLmianderson commented 9 months ago

Type: Bug

I have the necessary access to connect, but after one of the upgrades, it keeps throwing errors "The Log Analytics Workspace can not be reached. Please validate the Workspace ID, the correct tenant is selected, and that you have access to the workspace. Error Message: The provided authentication is not valid for this resource"

Azure Data Studio version: azuredatastudio 1.47.1 (b6f7beb01f92adaa4b79b6b6f3ac704e95cafe6e, 2024-01-10T02:15:02.628Z) 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-8650U CPU @ 1.90GHz (8 x 2112)| |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)|15.92GB (5.02GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (20) Extension|Author (truncated)|Version ---|---|--- copilot|Git|1.95.239 admin-pack|Mic|0.0.2 admin-tool-ext-win|Mic|0.1.3 agent|Mic|0.49.0 arc|Mic|1.8.0 azcli|Mic|1.8.0 azuremonitor|Mic|0.1.9 cms|Mic|0.9.3 dacpac|Mic|1.14.0 datavirtualization|Mic|1.13.1 import|Mic|1.6.0 kusto|Mic|0.5.8 machine-learning|Mic|0.12.0 powershell|ms-|2022.12.1 profiler|Mic|0.14.0 query-history|Mic|0.5.3 server-report|Mic|0.2.4 sql-assessment|Mic|0.6.4 sql-migration|Mic|1.5.1 azdata-sanddance|msr|4.0.3
austinajit commented 6 months ago

Facing the same here as well. Able to query the workspace from the portal, but not from studio. Is there any workaround?

giacomotaba commented 4 months ago

Same here

Version: 1.48.1 Commit: 8825ec21e67a34ede00e4f02a4afc692eb6cab61 Date: 2024-06-13T21:08:12.948Z 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 23.5.0

AnthonyPhan commented 3 months ago

Same issue here. This has randomly stopped working for me for macOS ARM. I tried on a windows x86 VM and no issue.