Skip to content

Fix for 5033 - MSI response json parse failure error code #5038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 8, 2025

Conversation

bgavrilMS
Copy link
Member

@bgavrilMS bgavrilMS commented Dec 31, 2024

Fixes #5016

Changes proposed in this request

Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@bgavrilMS bgavrilMS requested a review from a team as a code owner December 31, 2024 16:43
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/client/Microsoft.Identity.Client/ManagedIdentity/AbstractManagedIdentity.cs:139

  • Ensure that the error message is logged before throwing the exception to aid in debugging.
_requestContext.Logger.Error("[Managed Identity] MSI json response failed to parse. " + ex);

@bgavrilMS bgavrilMS force-pushed the bogavril/5033 branch 3 times, most recently from 34601dc to 093a2d7 Compare January 2, 2025 14:00
@christothes
Copy link

Linking to #5016

Copy link

@christothes christothes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Regression in ImdsManagedIdentitySource from Azure.Identity behavior for invalid json responses
5 participants