From da3c5e5de40c3015e0bcc6ac87b564051f15f75c Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Wed, 8 Apr 2026 14:50:15 -0700 Subject: [PATCH] Revert CFS feed for PSResources --- tools/installPSResources.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/installPSResources.ps1 b/tools/installPSResources.ps1 index 7b490e0a16..40bc120814 100644 --- a/tools/installPSResources.ps1 +++ b/tools/installPSResources.ps1 @@ -5,8 +5,9 @@ param( [string]$PSRepository = "PSGallery" ) +# Install-PSResource can't use the project-scoped feed because OneBranch doesn't auth it if ($PSRepository -eq "CFS" -and -not (Get-PSResourceRepository -Name CFS -ErrorAction SilentlyContinue)) { - Register-PSResourceRepository -Name CFS -Uri "https://pkgs.dev.azure.com/msazure/One/_packaging/PowerShellGalleryMirror/nuget/v3/index.json" + Register-PSResourceRepository -Name CFS -Uri "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/PowerShellGalleryMirror/nuget/v3/index.json" } # NOTE: Due to a bug in Install-PSResource with upstream feeds, we have to