Hi, We want to connect to Azure Sql database using Azure SQL authentication with a Managed Service Identity, But through Enterprise Library is not possible
Using native SqlConnection it is possible, But as I said, EL doesn't support this behavior
We made test Using Native SqlConnection from System.Data.SqlClient as the link shows and it works
https://winterdom.com/2017/10/19/azure-sql-auth-with-msi
But, If we use database = new GenericDatabase(builder.ConnectionString, 'System.Data.SqlClient'); it is not possible to set AccessToken in the same connection object in the database object that was created.