Skip to content

Conversation

Robbie-Microsoft
Copy link
Contributor

I added WithExtraQueryParameters as an experimental feature in ManagedIdentityApplicationBuilder.

@Robbie-Microsoft Robbie-Microsoft requested a review from a team as a code owner September 22, 2025 17:58

var miBuilder = ManagedIdentityApplicationBuilder.Create(ManagedIdentityId.SystemAssigned)
.WithExperimentalFeatures(true)
.WithExtraQueryParameters(extraQueryParameters)
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a test where you call WithExtraQueryParameters twice and see that the values are merged?

SetEnvironmentVariables(ManagedIdentitySource.AppService, AppServiceEndpoint);

var extraQueryParameters = new Dictionary<string, string>
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Where do we assert that these values were sent in the outgoing request?

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.

3 participants