fix: reference Microsoft.Data.SqlClient.Extensions.Azure so managed-identity SQL auth works under SqlClient 7 - #415
Merged
Conversation
…ure so Entra ID SQL auth works under SqlClient 7 SqlClient 7.0 moved the Entra ID providers out of the core driver. The 2026-09-15 sweep pinned 7.0.3 in MMCA.Common.Infrastructure, so every consumer host using Authentication=Active Directory Managed Identity threw "Cannot find an authentication provider for 'ActiveDirectoryManagedIdentity'" at startup: the ADC v1.203.0 revisions never became ready and were rolled back. The extension package registers the providers on load; a unit test pins that registration. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VS86fEVW7PDSSRiKdfaaco
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VS86fEVW7PDSSRiKdfaaco
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Production hotfix. The 2026-09-15 dependency sweep (#410) pinned
Microsoft.Data.SqlClient7.0.3 inMMCA.Common.Infrastructure; since 7.0 the core driver no longer carries the Entra ID authentication providers, so every consumer host that connects withAuthentication=Active Directory Managed IdentitythrowsCannot find an authentication provider for 'ActiveDirectoryManagedIdentity'at startup. The ADC v1.203.0 deploy (run 35035164569) hit exactly that: all four service revisions never became ready and the smoke gate rolled production back to the previous image.Fix:
MMCA.Common.InfrastructurereferencesMicrosoft.Data.SqlClient.Extensions.Azureat the same version (per the SqlClient 7.0 migration guide no code change is needed, the extension registers its providers on load).SqlClientEntraAuthenticationTestsasserts the managed-identity provider resolves, so a future bump cannot drop it silently. Lock files regenerated.To be released as v1.204.0 and swept into ADC, Store and Helpdesk.
🤖 Generated with Claude Code
https://claude.ai/code/session_01VS86fEVW7PDSSRiKdfaaco