Repository navigation
chore: remove unused AzureTokenProvider class - #37927
Merged
mohityadav766 merged 1 commit intoNov 17, 2026
Merged
mohityadav766 merged 1 commit into
mohityadav766 merged 1 commit into
Conversation
mohityadav766
approved these changes
Nov 17, 2026
mohityadav766
deleted the
detail/dead-code/chore-remove-unused-azuretokenprovider-class-7233d9
branch
November 17, 2026 09:46
1 task done
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.
Removed the
AzureTokenProviderclass along with the now-orphanedmsal4jdependency inopenmetadata-service/pom.xmland the versionpin in the root
pom.xml<dependencyManagement>, plus the matchingfile-path glob in
.github/java-tests/impact-map.json.This class was dead-on-arrival: it was added in the same commit that
introduced the real Azure database authentication implementation
(
AzureDatabaseAuthenticationProvider, which usesDefaultAzureCredential), butAzureTokenProviderwas never wired inor called by anything. It contained hardcoded placeholder credentials
(
"your-client-id","your-tenant-id","your-client-secret") andhad zero references anywhere in the codebase (Java source, tests,
docs, or config). The
com.microsoft.aad.msal4jlibrary it importedwas consumed solely by this class.
History
Dead Code PRs can be configured here.


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were established.Summary
Removes the unused
AzureTokenProviderand its matching test-map entry.No actionable issues were established. Builds and tests were not run.
Reviews (1) · Last reviewed commit: "chore: remove unused AzureTokenProvider ..." · Reviewed by Greptile