Repository navigation
[release/10.0] Remove legacyCredential PAT usage from Arcade templates - #17081
Closed
missymessa wants to merge 2 commits into
Closed
missymessa wants to merge 2 commits into
missymessa wants to merge 2 commits into
Conversation
The legacyCredential parameter passed dn-bot-dnceng-artifact-feeds-rw to enable-internal-sources.yml, overriding the modern WIF-backed service connection path. This PAT has been migrated to the dnceng-artifacts-feeds-read service connection (managed identity). The original removal (PR dotnet#16921) was merged June 30 but lost to a subsequent branch reset. Re-applying the same change. Work item: AB#10143
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates Arcade’s Azure Pipelines templates on release/10.0 to stop passing the deprecated legacyCredential PAT into enable-internal-sources.yml, allowing authentication to flow through the modern WIF/service-connection or System.AccessToken paths.
Changes:
- Remove
legacyCredential: $(dn-bot-dnceng-artifact-feeds-rw)from theenable-internal-sources.ymlcall in the post-build stage template. - Remove the DevDiv-only conditional block that passed
legacyCredentialin the publish-build-assets job template.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/common/core-templates/post-build/post-build.yml | Stops passing the legacy PAT into internal source enablement during post-build. |
| eng/common/core-templates/job/publish-build-assets.yml | Removes the DevDiv-only legacy PAT parameter injection for internal source enablement. |
Member
|
No changes? |
Member
Author
wtf copilot |
missymessa
force-pushed
the
remove-legacy-credential-release-10.0
branch
from
July 8, 2026 18:12
cc94d77 to
9324231
Compare
missymessa
force-pushed
the
remove-legacy-credential-release-10.0
branch
from
July 9, 2026 17:09
1de16dd to
9324231
Compare
missymessa
enabled auto-merge (squash)
July 9, 2026 17:10
mmitche
approved these changes
Jul 9, 2026
Member
Author
auto-merge was automatically disabled
July 9, 2026 23:43
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-applies the legacyCredential removal that was lost when release/10.0 was reset (original PR #16921 merged June 30, commit \848aca53\ no longer in branch history).
Removes \legacyCredential: \ from:
Without this parameter, \�nable-internal-sources.yml\ uses the WIF-backed \dnceng-artifacts-feeds-read\ service connection (for DevDiv) or \NuGetAuthenticate\ with \System.AccessToken\ (for dnceng). Both paths are verified working.
Context
The \dn-bot-dnceng-artifact-feeds-rw\ PAT has been fully migrated:
Fixes AB#10143