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