Skip to content

Conversation

gladjohn
Copy link
Contributor

@gladjohn gladjohn commented Jan 14, 2025

Fixes #5077

This pull request includes updates to the ManagedIdentityClient to enhance the logic for determining the managed identity source and adds new test methods to cover these changes. The most important changes include reordering the conditions in the GetManagedIdentitySource method, adding a new method to set environment variables for upgrade scenarios, and introducing new test cases for various managed identity sources.

Enhancements to managed identity source logic:

New method for setting environment variables:

Additional test cases:

@gladjohn gladjohn requested a review from a team as a code owner January 14, 2025 15:26
@gladjohn gladjohn changed the title fix Reordered the condition for ManagedIdentitySource.MachineLearning to be checked after ManagedIdentitySource.AppService instead of before it. Jan 14, 2025
@gladjohn gladjohn force-pushed the gladjohn/msi_source_fix branch from 0fe05a8 to 21a30e0 Compare January 14, 2025 16:15
@gladjohn
Copy link
Contributor Author

@bgavrilMS @neha-bhargava @trwalke given that I am addressing a P1 issue I am going to skip Code Coverage checks and merge this in

Copy link
Contributor

@neha-bhargava neha-bhargava left a comment

Choose a reason for hiding this comment

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

Approve with comment

@gladjohn gladjohn merged commit e22ca8a into main Jan 14, 2025
4 of 6 checks passed
@gladjohn gladjohn deleted the gladjohn/msi_source_fix branch January 14, 2025 17:17
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.

[Bug] ManagedIdentityCredential authentication failed

5 participants