Issue Type: Bug
after password change getting "Failed to add account. No Azure tenants". All of my connections are no longer usable I can't recreate connections after removing them. Have valid Azure login. Can access devOps but not the Azure Database instances. I can access them via SSMS but not in Azure Data Studio.
Azure Data Studio version: azuredatastudio 1.15.1 (83544eba2504f564d785534cc780d2073feec2cc, 2020-02-15T05:03:16.545Z)
OS version: Windows_NT x64 10.0.17134
System Info
|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.85GB (4.84GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
Extensions (1)
Extension|Author (truncated)|Version
---|---|---
managed-instance-dashboard|Mic|0.3.9
I have tried to uninstall Azure Data Studio and reinstall but it looks like all my previous settings moved forward. Is there a way to remove all of the local remnants after an uninstall and start from scratch?
@rdbossjr After uninstalling delete the %APPDATA%\azuredatastudio folder and that should remove all settings.
Let us know if you're still seeing this issue after cleaning everything and we can see if there's any more info we can get to help us figure out the issue.
@aaomidi Any ideas here? We should look into adding more logging around this area - it seems like we're getting a number of reports of people having issues with adding their azure accounts lately.
I experienced something very similar on MacOS. I had to delete the account cache to be able to reconnect. The file was in:
$HOME/Library/Application Support/azuredatastudio/Azure Accounts/azureTokenCache-azurePublicCloud
Yeah, you can try that first too. For that we have a command you can use to clear the Token Cache - Azure Accounts: Clear Azure Account Token Cache

Thanks for the quick reply @Charles-Gagnon
I removed the azuredatastudio folder and then was able to recreate my connections! Thank you very much for your help!
Most helpful comment
Yeah, you can try that first too. For that we have a command you can use to clear the Token Cache - Azure Accounts: Clear Azure Account Token Cache