AddDbContextPool does not work with Azure Ad managed identity authentication for Azure SQL #26463
Labels
External
This is an issue in a component not contained in this repository. It is open for tracking purposes.
Describe the bug
I followed MS documentation here to configure Azure AD managed identity for Azure SQL authentication. It works with AddDbContext in ASP.NET Core 3.1, but not AddDbContextPool which we want to use for higher performance
To Reproduce
Exceptions (if any)
SqlException: Login failed for user ''. Microsoft.Data.ProviderBase.DbConnectionPool.CheckPoolBlockingPeriod(Exception e)
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: