Skip to content

[release/8.0] Migrate winforms-pr internal-feed auth off retired PAT to System.AccessToken - #14817

Merged
KlausLoeffelmann merged 1 commit into
dotnet:release/8.0from
missymessa:dev/mjanecke/winforms-pr-rel8.0-systemaccesstoken
Jul 29, 2026
Merged

[release/8.0] Migrate winforms-pr internal-feed auth off retired PAT to System.AccessToken#14817
KlausLoeffelmann merged 1 commit into
dotnet:release/8.0from
missymessa:dev/mjanecke/winforms-pr-rel8.0-systemaccesstoken

Conversation

@missymessa

@missymessa missymessa commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

The winforms-pr pipeline (eng/pipelines/build-PR.yml) authenticates internal darc-int-* Azure Artifacts feeds during Arcade SDK toolset restore using the dn-bot-dnceng-artifact-feeds-rw PAT. That PAT was removed from the arcade secret manifest (arcade #17079, merged 2026-07-08) and expired 2026-07-11, so internal release/8.0 builds now fail with HTTP 401 (Unauthorized) during artifacts/toolset/restore.proj.

This swaps the credential to $(System.AccessToken) (build identity), mirroring what eng/pipelines/build.yml (the official CI pipeline) already does on this same branch.

Root cause / evidence

  • Failing build: winforms-pr on internal/release/8.0 build 3029632 (2026-07-23) — 401 (Unauthorized) on darc-int-* feeds fetching Microsoft.DotNet.Arcade.Sdk.
  • Regression window: this pipeline succeeded through 2026-07-07, then began failing 2026-07-16 onward — immediately after the PAT expired.
  • The sibling CI file eng/pipelines/build.yml on release/8.0 was already migrated to $(System.AccessToken) (which is why dotnet-winforms CI passes on the same commit); only build-PR.yml was missed. release/9.0 and main are unaffected.

Verification

Applied this exact change to a test branch off internal/release/8.0 and queued the winforms-pr pipeline: build 3032700 succeeded (all Windows Debug/Release x64/x86/arm64 legs), the Setup Private Feeds Credentials step passed, and the internal-feed restore completed with no 401.

Change

eng/pipelines/build-PR.ymlToken: $(dn-bot-dnceng-artifact-feeds-rw)Token: $(System.AccessToken)

Tracked by AzDO #11679.

Microsoft Reviewers: Open in CodeFlow

The winforms-pr pipeline (eng/pipelines/build-PR.yml) authenticated internal darc-int-* feeds with the dn-bot-dnceng-artifact-feeds-rw PAT, which was removed from the arcade secret manifest and expired 2026-07-11. This causes HTTP 401 on Arcade SDK toolset restore in internal/release/8.0 PR/CI builds. Switch to $(System.AccessToken) (build identity), mirroring eng/pipelines/build.yml on the same branch.
@missymessa
missymessa requested a review from a team as a code owner July 27, 2026 18:38
@KlausLoeffelmann
KlausLoeffelmann merged commit 64855c6 into dotnet:release/8.0 Jul 29, 2026
10 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.

2 participants