Skip to content

[release/8.0] Backport renewable Azure CLI authentication for Helix - #17644

Merged
missymessa merged 1 commit into
dotnet:release/8.0from
missymessa:backport/17592-release-8.0
Oct 7, 2026
Merged

missymessa merged 1 commit into
dotnet:release/8.0from
missymessa:backport/17592-release-8.0

Conversation

@missymessa

Copy link
Copy Markdown
Member

Backport

Backport of #17592 to release/8.0.

Summary

  • Run Entra-authenticated Helix submission and inline waiting inside AzureCLI@2 with keepAzSessionActive: true.
  • Make Helix prefer AzureCliCredential while retaining existing credential fallbacks.
  • Preserve existing PAT and anonymous behavior.

Standalone Job Monitor and core-template changes are omitted because those surfaces do not exist on release/8.0.

Validation

  • Focused Microsoft.DotNet.Helix.Sdk.Tests validation passed with no warnings or errors on release/8.0.
  • Both release template variants parsed successfully and contain the same adapted implementation.

Tracks AB#12269.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: b83ddd94-a1da-4c3c-aead-1d1643a6b83f
Copilot-Session: 40ffbc91-7138-4298-b61c-73a788185f11
Copilot-Session: 3ee73e53-8098-4533-b3f9-1686640d4f55
Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1672b4d9-b4c1-4736-83fa-c8b06a6f966b
Copilot AI balanced review requested due to automatic review settings September 30, 2026 22:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The backport consistently preserves legacy paths while applying the validated renewable authentication design across both template variants.

Review effort: Balanced
Findings: None

What changed in this PR

Backports renewable Azure CLI authentication for Entra-authenticated Helix operations to release/8.0.

Changes:

  • Runs Helix submission and waiting inside renewable AzureCLI@2 sessions.
  • Prioritizes Azure CLI credentials for Helix while preserving existing fallback behavior.
  • Updates both templates and documentation consistently.
File Description
src/​Microsoft.DotNet.Helix/​Sdk/​HelixTask.cs Enables Azure CLI credential preference.
src/​Microsoft.DotNet.ArcadeAzureIntegration/​DefaultIdentityTokenCredentialOptions.cs Adds the credential preference option.
src/​Microsoft.DotNet.ArcadeAzureIntegration/​DefaultIdentityTokenCredential.cs Implements configurable Azure CLI ordering.
eng/​common/​templates/​steps/​send-to-helix.yml Runs authenticated Helix operations within Azure CLI.
eng/​common/​templates-official/​steps/​send-to-helix.yml Mirrors the renewable authentication flow.
Documentation/​AzureDevOps/​SendingJobsToHelix.md Documents WIF and renewable authentication requirements.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@missymessa
missymessa marked this pull request as ready for review September 30, 2026 22:49
@missymessa
missymessa requested a review from mmitche September 30, 2026 22:49
@missymessa
missymessa enabled auto-merge (squash) October 1, 2026 16:43
@missymessa
missymessa merged commit bf560c5 into dotnet:release/8.0 Oct 7, 2026
17 checks passed
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