Skip to content

[Identity] Fix MI pipeline resources creation#37736

Merged
minhanh-phan merged 14 commits intoAzure:mainfrom
minhanh-phan:identity/fix-weekly-tests
Mar 25, 2026
Merged

[Identity] Fix MI pipeline resources creation#37736
minhanh-phan merged 14 commits intoAzure:mainfrom
minhanh-phan:identity/fix-weekly-tests

Conversation

@minhanh-phan
Copy link
Copy Markdown
Member

@minhanh-phan minhanh-phan commented Mar 19, 2026

  • JS MI pipeline relies on passing ArmTemplateParameters to AdditionalParameters in deploy-test-resources to properly enable deployMIResources from managed-identity-matrix.json to resource creation post-script. However, since Sync eng/common directory with azure-sdk-tools for PR 13968 #37311, the two variables are separate out. This causes the pipeline to fail
  • When passing AdditionalParameters through tests.yml, the post-script does not have the correct variable because AdditionalParameters is not defined in live.tests.yml. Thus, it is not passed through to the deploy-test-resources.yml. This PR addresses the gap in propagating additional parameters from the pipelines via AdditionalParameters

Copy link
Copy Markdown
Contributor

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.

Pull request overview

Updates the Identity live-test pipeline matrix and job template wiring so Managed Identity (MI) test resources can be conditionally created via the intended AdditionalParameters path used by the test-resources provisioning scripts.

Changes:

  • Switch Identity’s managed identity matrix from ArmTemplateParameters to AdditionalParameters for deployMIResources.
  • Add an AdditionalParameters variable to the live tests job template and pass it through to the test-resources deployment template.

Reviewed changes

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

File Description
sdk/identity/identity/managed-identity-matrix.json Routes deployMIResources through AdditionalParameters so it reaches both ARM template params and post scripts.
eng/pipelines/templates/jobs/live.tests.yml Plumbs AdditionalParameters from matrix variables into deploy-test-resources.yml.

@minhanh-phan minhanh-phan requested a review from scbedd March 25, 2026 16:16
@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure Identity SDK Improvements Mar 25, 2026
@minhanh-phan minhanh-phan merged commit 1ba8b7b into Azure:main Mar 25, 2026
13 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure Identity SDK Improvements Mar 25, 2026
@minhanh-phan minhanh-phan deleted the identity/fix-weekly-tests branch March 25, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

5 participants