Open tianqi-z opened 1 year ago
@tianqi-z these links helped me with Python where we now are using ODBC with workload identity. They might help you for C#:
https://docs.sqlalchemy.org/en/20/dialects/mssql.html#connecting-to-databases-with-access-tokens
Hi WI team, Any chances ODBC driver is supporting workload identity now? If not, could you share some details of any workaround we can use? It took me forever to find this https://techcommunity.microsoft.com/t5/azure-database-support-blog/lesson-learned-384-odbc-driver-not-supporting-aks-workload/ba-p/3858209 At lease mention this in the workload identity doc? This doc https://learn.microsoft.com/en-us/sql/connect/odbc/using-azure-active-directory?view=sql-server-ver16#azure-active-directory-authentication-sample-code only mentioned c++ for the access token authentication. How to achieve the same for C# System.Data.Odbc.OdbcConnection? Thanks