Closed duszekmestre closed 6 months ago
We use managed identity authentication to connect to Azure SQL database. After update to 1.7.2 we encountered error:
('28000', "[28000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user ''. (18456) (SQLDriverConnect)")
As I see in source there is condition to not support other methods than sql: https://github.com/dbt-msft/dbt-sqlserver/blob/master/dbt/adapters/sqlserver/sql_server_connection_manager.py#L83
sql
Please add managed identity (and other Azure SQL credentials methods) support to adapter.
I found the solution: I have to change authentication type from MSI to auto in the profile file.
MSI
auto
We use managed identity authentication to connect to Azure SQL database. After update to 1.7.2 we encountered error:
('28000', "[28000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Login failed for user ''. (18456) (SQLDriverConnect)")
As I see in source there is condition to not support other methods than
sql
: https://github.com/dbt-msft/dbt-sqlserver/blob/master/dbt/adapters/sqlserver/sql_server_connection_manager.py#L83Please add managed identity (and other Azure SQL credentials methods) support to adapter.