Released: Microsoft.Data.SqlClient 4.0.1

We have released an update to Microsoft.Data.SqlClient, version 4.0.1. The update addresses several issues that are important to our customers.


Updates in Microsoft.Data.SqlClient 4.0.1 include:



Fixed Kerberos authentication failure when using .NET 6. #1411 Fixed connection failure when using SqlLocalDB instance pipe name. #1433 Fixed a failure when executing concurrent queries requiring enclaves. #1451 Updated obsolete API calls targeting .NET 6. #1401


Added AppContext switch SuppressInsecureTLSWarning to allow suppression of TLS security warning when using Encrypt=false in the connection string. #1457


To get the new package, add a NuGet reference to Microsoft.Data.SqlClient in your application.


For the list of changes in Microsoft.Data.SqlClient 4.0.1, you can also