Repository navigation
Add ability to consume PowerShell modules from internal feed - #28326
Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit intoNov 5, 2026
Merged
Conversation
Aditya Patwardhan (adityapatwardhan)
requested review from
a team and
Justin Chung (jshigetomi)
as code owners
November 4, 2026 05:22
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Both vPack build paths omit the secret feed credential mapping when UseEarlyAccessModules=true and IsEarlyAccess=false, preventing module restores from using the new feed token.
2 open issues
What changed in this PR
Adds opt-in internal module feeds to PowerShell’s build infrastructure, independently of early-access .NET feeds.
Changes:
- Adds
UseEarlyAccessModulesparameters to official and nonofficial pipelines. - Updates NuGet configuration and authentication to include the internal module feed.
- Adds configuration tests and documents pipeline and local restore usage.
| File | Description |
|---|---|
test/infrastructure/NugetConfig.Tests.ps1 |
Tests feed selection and authentication behavior. |
docs/building/internals.md |
Documents internal module feeds and restore requirements. |
build.psm1 |
Adds independent internal module source selection. |
.pipelines/templates/insert-nuget-config-azfeed.yml |
Configures and authenticates enabled internal feeds. |
.pipelines/PowerShell-vPack-Official.yml |
Exposes the module-feed option for official vPack builds. |
.pipelines/PowerShell-Release-Official.yml |
Exposes the option for official releases. |
.pipelines/PowerShell-Packages-Official.yml |
Exposes the option for official packaging. |
.pipelines/PowerShell-Coordinated_Packages-Official.yml |
Exposes the option for official coordinated packaging. |
.pipelines/NonOfficial/PowerShell-vPack-NonOfficial.yml |
Exposes the option for nonofficial vPack builds. |
.pipelines/NonOfficial/PowerShell-Release-NonOfficial.yml |
Exposes the option for nonofficial releases. |
.pipelines/NonOfficial/PowerShell-Packages-NonOfficial.yml |
Exposes the option for nonofficial packaging. |
.pipelines/NonOfficial/PowerShell-Coordinated_Packages-NonOfficial.yml |
Exposes the option for nonofficial coordinated packaging. |
.pipelines/MSIXBundle-vPack-Official.yml |
Exposes the option for MSIX bundle vPack builds. |
.pipelines/apiscan-gen-notice.yml |
Exposes the option for API scanning and notice generation. |
Review effort: Balanced
Comment on lines
+53
to
+54
| - name: UseEarlyAccessModules | ||
| value: ${{ parameters.UseEarlyAccessModules }} |
Comment on lines
+60
to
+61
| - name: UseEarlyAccessModules | ||
| value: ${{ parameters.UseEarlyAccessModules }} |
Justin Chung (jshigetomi)
approved these changes
Nov 4, 2026
Aditya Patwardhan (adityapatwardhan)
merged commit Nov 5, 2026
778c6d7
into
master
47 of 48 checks passed
3 of 9 tasks
7 of 12 tasks
3 of 9 tasks
3 of 9 tasks
3 of 9 tasks
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.

PR Summary
Add the ability to consume PowerShell modules from an internal feed for official builds.
PR Context
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header