You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3c90c0d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(mssql): bundle azure-identity for ActiveDirectoryDefault/AzCli/WorkloadIdentity auth (#1755)
Closes#1754
mssql-jdbc 12.6.1 supports ActiveDirectoryDefault, ActiveDirectoryAzCli,
and ActiveDirectoryWorkloadIdentity but delegates them to the azure-identity
library (com.azure:azure-identity), which was not previously bundled. Users
hitting these modes got:
java.lang.NoClassDefFoundError: com/azure/identity/DefaultAzureCredentialBuilder
Add azure-identity 1.11.1 (the version mssql-jdbc 12.6.1 was certified
against) to deps.edn so all non-browser-dependent Entra ID auth modes work
out of the box. The SLF4J version conflict flagged by downstream workarounds
(miljodir/DataEngineerPersona#6) does not affect the uberjar: Maven resolves
to the newer slf4j-api already present via logback-classic.
Also update docs/ref/mssql.rst:
- Add ActiveDirectoryDefault (developer az login workflow, WSL2-safe),
ActiveDirectoryAzCli, ActiveDirectoryWorkloadIdentity with examples
- Deprecation note on ActiveDirectoryPassword (blocked by MFA enforcement
in most modern Entra tenants, returns AADSTS50076)
- Correct the ActiveDirectoryInteractive note: it works on native Windows /
macOS / Linux desktops but fails in WSL2 (linux_xdg_open_failed) and
headless environments; ActiveDirectoryDefault is the practical alternative
- Quick-reference table of all auth modes and their use cases
Add classpath assertion test for DefaultAzureCredentialBuilder, mirroring
the existing MSAL4J test added in #1753.
0 commit comments