Repository navigation
Fix NuGetAuthenticate for devdiv-engineering-feed-r-wif WIF service connection - #6902
Merged
Merged
Conversation
The devdiv-engineering-feed-r-wif SC is type workloadidentityuser which requires azureDevOpsServiceConnection + feedUrl inputs. nuGetServiceConnections only accepts ExternalNuGetFeed type. Same fix pattern as dotnet/roslyn#83918.
mmitche
approved these changes
May 28, 2026
missymessa
enabled auto-merge
May 28, 2026 20:48
This was referenced Jul 6, 2026
akhera99
pushed a commit
to dotnet/roslyn
that referenced
this pull request
Jul 7, 2026
…#84414) ## Summary Replace PAT-backed externalnugetfeed SC with WIF-based azureDevOpsServiceConnection for the devdiv/dotnet-core-internal-tooling NuGet feed. ## Motivation Part of PAT disable policy migration ([dnceng WI 10124](https://dnceng.visualstudio.com/internal/_workitems/edit/10124)). ## Changes - **Before:** nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' (PAT-based ExternalNuGetFeed SC) - **After:** azureDevOpsServiceConnection + feedUrl (WIF SC backed by Entra app) ## New Service Connection - **Name:** dnceng-devdiv-dotnet-core-internal-tooling-feed-rw-wif - **Type:** workloadidentityuser - **Target:** https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json Same pattern as the devdiv/engineering feed migration (#83918, dotnet/dotnet#6902).
akoeplinger
pushed a commit
to dotnet/runtime
that referenced
this pull request
Jul 8, 2026
…#130264) ## Summary Replace PAT-backed externalnugetfeed SC with WIF-based azureDevOpsServiceConnection for the devdiv/dotnet-core-internal-tooling NuGet feed. ## Motivation Part of PAT disable policy migration ([dnceng WI 10124](https://dnceng.visualstudio.com/internal/_workitems/edit/10124)). ## Changes - **Before:** nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' (PAT-based ExternalNuGetFeed SC) - **After:** azureDevOpsServiceConnection + feedUrl (WIF SC backed by Entra app) ## New Service Connection - **Name:** dnceng-devdiv-dotnet-core-internal-tooling-feed-rw-wif - **Type:** workloadidentityuser - **Target:** https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json Same pattern as the devdiv/engineering feed migration (dotnet/roslyn#83918, dotnet/dotnet#6902).
akhera99
pushed a commit
to akhera99/roslyn
that referenced
this pull request
Jul 8, 2026
…dotnet#84414) Replace PAT-backed externalnugetfeed SC with WIF-based azureDevOpsServiceConnection for the devdiv/dotnet-core-internal-tooling NuGet feed. Part of PAT disable policy migration ([dnceng WI 10124](https://dnceng.visualstudio.com/internal/_workitems/edit/10124)). - **Before:** nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' (PAT-based ExternalNuGetFeed SC) - **After:** azureDevOpsServiceConnection + feedUrl (WIF SC backed by Entra app) - **Name:** dnceng-devdiv-dotnet-core-internal-tooling-feed-rw-wif - **Type:** workloadidentityuser - **Target:** https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json Same pattern as the devdiv/engineering feed migration (dotnet#83918, dotnet/dotnet#6902).
eiriktsarpalis
pushed a commit
to dotnet/runtime
that referenced
this pull request
Jul 15, 2026
…#130264) ## Summary Replace PAT-backed externalnugetfeed SC with WIF-based azureDevOpsServiceConnection for the devdiv/dotnet-core-internal-tooling NuGet feed. ## Motivation Part of PAT disable policy migration ([dnceng WI 10124](https://dnceng.visualstudio.com/internal/_workitems/edit/10124)). ## Changes - **Before:** nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' (PAT-based ExternalNuGetFeed SC) - **After:** azureDevOpsServiceConnection + feedUrl (WIF SC backed by Entra app) ## New Service Connection - **Name:** dnceng-devdiv-dotnet-core-internal-tooling-feed-rw-wif - **Type:** workloadidentityuser - **Target:** https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal-tooling/nuget/v3/index.json Same pattern as the devdiv/engineering feed migration (dotnet/roslyn#83918, dotnet/dotnet#6902).
This was referenced Sep 28, 2026
missymessa
added a commit
that referenced
this pull request
Sep 28, 2026
Replace the retiring devdiv/engineering PAT service connection with the proven WIF NuGetAuthenticate task configuration from #6902. Co-authored-by: Copilot <[email protected]> Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
missymessa
added a commit
that referenced
this pull request
Sep 28, 2026
Backport the NuGetAuthenticate task split from #6902 so the WIF service connection uses azureDevOpsServiceConnection and feedUrl instead of the ExternalNuGetFeed-only input. Co-authored-by: Copilot <[email protected]> Copilot-Session: 0a4ed861-2664-48de-a412-84d7adccd0f0
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
Fixes the NuGetAuthenticate@1 task configuration for the
devdiv-engineering-feed-r-wifservice connection in the VMR build template.Problem
PR #6635 added
devdiv-engineering-feed-r-wifto thenuGetServiceConnectionsinput, but that input only accepts service connections of typeExternalNuGetFeed. Our WIF service connection is typeworkloadidentityuser, which causes:This is the same issue that was discovered and fixed in dotnet/roslyn#83918.
Fix
Split into two separate NuGetAuthenticate@1 tasks:
nuGetServiceConnectionsfor the ExternalNuGetFeed type (devdiv/dotnet-core-internal-tooling)azureDevOpsServiceConnection+feedUrlfor the WIF type (devdiv-engineering-feed-r-wif)Related