-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AZURE CONNECTION DOESN'T WORK #23211
Comments
We need more info to debug your Azure Active Directory issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.
|
Hi, |
@malabarMCB have you tried removing and readding the accounts? This could help clear out any invalid state. Also, the AAD implementation was updated in 1.44 to use SqlClient driver rather than MSAL.Net, which could have unexpected side-effects. You could try to disabling this update by unchecking the "Enable Sql Authentication Provider" option. It's unusual that the Azure log file would be empty if your hitting account errors. Are you seeing any other errors in the Help->Developer Tools Console, or the other log files? Note: this could be related to #23210 |
As the message says, you need to refresh credentials by re-authenticating with AAD. You can either refresh credentials in the linked accounts pane using the refresh icon or remove and add account. If it doesn't work, to collect logs, make sure you reload ADS and once you reproduce the error again, you can either find logs in the "Azure Accounts" output pane or the Azure Accounts log file as per above. Once you open the file it will load logs from process and populate for you. Side note: When fetching subscriptions, we continue to use MSAL.JS and this design is not related with 'Enable Sql authentication provider' setting. |
@malabarMCB Do you have more than one Azure AD tenant under your account? |
I have the only one tenant |
it didn't help |
Tried to log out and log in a few times. Still the same error |
Please try these steps: #23286 (comment) and let us know? Pasting Mac specific instructions: |
Closing due to inactivity. |
Type: Bug
"Failed to get subscriptions" message after log in to azure. I'm able to manage dbs from azure portal but not from Data Studio. Issue occured after the update. Please, fix it.
Azure Data Studio version: azuredatastudio 1.44.0 (31bee67, 2023-05-19T16:52:43.653Z)
OS version: Darwin x64 22.4.0
Restricted Mode: No
Preview Features: Enabled
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: