Describe the bug
Get error when use authentication type azure-active-directory-password in mssql.
ERROR: Error opening connection Security token could not be authenticated or authorized.
Desktop (please complete the following information):
SQLTools Version [v0.27.1]
VS Code Version: [1.79.2]
OS: [Windows10]
Driver:
[ ] PostgreSQL/Redshift
[ ] MySQL/MariaDB
[X] MSSQL/Azure
[ ] SQLite
[ ] Other? Which...
Database version:
[synapse sql dedicated pool
Microsoft Azure SQL Data Warehouse - 10.0.20443.0 Mar 14 2023 23:02:36 Copyright (c) Microsoft Corporation
]
Describe the bug Get error when use authentication type azure-active-directory-password in mssql. ERROR: Error opening connection Security token could not be authenticated or authorized.
To Reproduce Steps to reproduce the behavior:
Configure the connection { "mssqlOptions": { "appName": "SQLTools", "useUTC": true, "encrypt": true, "authentication": { "type": "azure-active-directory-password", "options": { "userName": "xxx@xxx.com", "password": "xxxxxx" } } }, "previewLimit": 50, "server": "xxxxxxxxxxxx", "port": 1433, "driver": "MSSQL", "name": "DEV", "database": "dbname", "username": "xxx@xxx.com", "password": "xxxxxx" }
Click to connect
Desktop (please complete the following information):
Microsoft Azure SQL Data Warehouse - 10.0.20443.0 Mar 14 2023 23:02:36 Copyright (c) Microsoft Corporation ]