Update AzAuth dependency to version 2.5.0#7
Merged
SimonWahlin merged 1 commit intomainfrom Jul 3, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the AzAuth dependency to v2.5.0 across module manifests, updates the changelog to reflect that bump and the new 0.2.0 release, and removes an old workaround in the Test-AzureToken function now that AzAuth fixes the aud claim.
- Bump AzAuth to 2.5.0 in RequiredModules.psd1 and module manifest
- Update CHANGELOG with an Unreleased entry and 0.2.0 release notes
- Simplify Test-AzureToken by removing scope-based fallback logic
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| RequiredModules.psd1 | Updated AzAuth version to 2.5.0 |
| AzResourceGraph/AzResourceGraph.psd1 | Updated AzAuth version to 2.5.0 in module manifest |
| AzResourceGraph/Private/Test-AzureToken.ps1 | Removed legacy scope fallback when checking tokens |
| CHANGELOG.md | Added Unreleased changelog and 0.2.0 release notes |
Comments suppressed due to low confidence (2)
CHANGELOG.md:20
- [nitpick] The entry 'Enhance token management' is vague and uses present tense. Consider rephrasing to 'Enhanced token management' and adding a brief detail about what was improved.
- Enhance token management
AzResourceGraph/Private/Test-AzureToken.ps1:50
- Removing the fallback check for
$Token.Scopescould break environments where AzAuth still emits tokens without a correctaudclaim. Confirm that v2.5.0 always provides a validaudor restore a fallback.
$Resource -eq $Token.Claims['aud']
Contributor
Contributor
PalmEmanuel
approved these changes
Jul 3, 2025
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.
No description provided.