This release fixes Entra ID tenant parsing for multi-segment authorities, and continues version-alignment of Microsoft.Data.SqlClient.Extensions.Azure with the core Microsoft.Data.SqlClient driver version (7.1.0-preview3). The previous release of this package was 7.1.0-preview2. See the core Microsoft.Data.SqlClient 7.1.0-preview3 release notes for the driver-family changes shipped alongside this version.
Version alignment: This package's version continues to track the core
Microsoft.Data.SqlClientdriver version. See the 7.0.2 release notes for the initial alignment announcement. This assembly ships withFileVersion 7.1.0.x. TheAssemblyVersion 7.0.0.0remains unchanged from the7.0.2release.
- Fixed Entra ID tenant parsing for multi-segment STSURL authorities. Endpoints such as the Dataverse / Dynamics 365 TDS endpoint return an OAuth v1 style authority (
https://login.microsoftonline.com/{tenantId}/oauth2/authorize) in the TDSFEDAUTHINFOtoken.ActiveDirectoryAuthenticationProvider.AcquireTokenAsyncsplit that authority at the last/, so the credential received the literal string"authorize"as its tenant id and connections failed withClientSecretCredential authentication failed. The tenant is now taken from the first path segment, so trailing endpoint suffixes (/oauth2/authorize,/oauth2/v2.0/token, ...) are ignored, and the normalized authority is used for the MSAL-based interactive, password, integrated, and device-code flows as well. An unparseable authority now raises a clearAuthenticationExceptionnaming the offending value, and provider-raised authentication errors are no longer re-wrapped as "Unexpected error". Behavior is unchanged for the barehttps://login.microsoftonline.com/{tenantId}authority sent by Azure SQL, Fabric, and Synapse. There are no public API changes. (#4496, #4521)
- .NET Standard 2.0
- .NET Framework 4.6.2+
- Azure.Core 1.51.1
- Azure.Identity 1.18.0
- Microsoft.Data.SqlClient.Extensions.Abstractions 7.1.0-preview3
- Microsoft.Data.SqlClient.Internal.Logging 7.1.0-preview3
- Microsoft.Extensions.Caching.Memory 8.0.1
- Microsoft.Identity.Client 4.84.2
- Microsoft.Identity.Client.Broker 4.84.2
- Azure.Core 1.51.1
- Azure.Identity 1.18.0
- Microsoft.Data.SqlClient.Extensions.Abstractions 7.1.0-preview3
- Microsoft.Data.SqlClient.Internal.Logging 7.1.0-preview3
- Microsoft.Extensions.Caching.Memory 8.0.1
- Microsoft.Identity.Client 4.84.2
- Microsoft.Identity.Client.Broker 4.84.2