Skip to content

fix: reference Microsoft.Data.SqlClient.Extensions.Azure so managed-identity SQL auth works under SqlClient 7 - #415

Merged
ivanball merged 2 commits into
mainfrom
fix/sqlclient-azure-auth-provider
Sep 16, 2026
Merged

ivanball merged 2 commits into
mainfrom
fix/sqlclient-azure-auth-provider

Conversation

@ivanball

Copy link
Copy Markdown
Owner

Production hotfix. The 2026-09-15 dependency sweep (#410) pinned Microsoft.Data.SqlClient 7.0.3 in MMCA.Common.Infrastructure; since 7.0 the core driver no longer carries the Entra ID authentication providers, so every consumer host that connects with Authentication=Active Directory Managed Identity throws Cannot 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.Infrastructure references Microsoft.Data.SqlClient.Extensions.Azure at the same version (per the SqlClient 7.0 migration guide no code change is needed, the extension registers its providers on load). SqlClientEntraAuthenticationTests asserts 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

ivanball and others added 2 commits September 15, 2026 21:01
…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
@ivanball
ivanball merged commit 83ee810 into main Sep 16, 2026
15 checks passed
@ivanball
ivanball deleted the fix/sqlclient-azure-auth-provider branch September 16, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant