From 8bc424333d4ff1868c34302e33fe4e90808029bd Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Wed, 8 Apr 2026 14:49:55 -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 70ed5dc0b..e067dfa81 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