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

Login failed for user '<token-identified principal>'. For no apparent reason #26035

Closed MichaMican closed 2 weeks ago

MichaMican commented 2 weeks ago

Steps to Reproduce:

  1. I enter all config
  2. I select Authentication type "Microsoft Entra ID" and add my account.
  3. I log in in the opened browser
  4. I get redirected back to datastudio
  5. I click on Login
  6. Error Message appears Image

NOTE: I have tried this with the exact same settings on a different device with the sam Azure Data Studio Version from the same Network and there it worked flawlessly

Does this issue occur when all extensions are disabled?: Yes

MichaMican commented 2 weeks ago

I have tried checking the logs and found the following traces - Not sure if it helps: Image

If there are more helpful logs somewhere - please let me know

MichaMican commented 2 weeks ago

After some additional troubleshooting we discovered that the Database search is broken - when i manually copy paste the Database name and overwrite the <Default> it starts to work!