From 657f724edb77b193c5939e4d4b7a6ce1918a4bab Mon Sep 17 00:00:00 2001 From: "Gavin Barron (from Dev Box)" Date: Mon, 20 Jul 2026 09:11:59 -0700 Subject: [PATCH] Route NuGet restore through the CFS central package feed Routes CI package restore through the authenticated GraphDeveloperExperiences_Public Azure Artifacts feed (network isolation / CFS compliance). Requires a pipeline run to validate against the feed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9bd6fe40-0d69-4e3f-927b-8628c0ab6d34 --- .azure-pipelines/generation-pipeline.yml | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.azure-pipelines/generation-pipeline.yml b/.azure-pipelines/generation-pipeline.yml index 8e1ef579d..470819e67 100644 --- a/.azure-pipelines/generation-pipeline.yml +++ b/.azure-pipelines/generation-pipeline.yml @@ -201,6 +201,20 @@ extends: targetPath: '$(Build.ArtifactStagingDirectory)' artifactName: typewriter steps: + - task: NuGetAuthenticate@1 + displayName: 'Authenticate to Azure Artifacts' + + - pwsh: | + @" + + + + + + + + "@ | Set-Content -Path "$(Build.SourcesDirectory)/nuget.config" -Encoding UTF8 + displayName: 'Create nuget.config (central feed)' - template: /.azure-pipelines/generation-templates/build-and-publish-typewriter.yml@self - stage: stage_build_and_publish_kiota dependsOn: [] # remove the implicit dependency to any previous stage @@ -212,6 +226,20 @@ extends: targetPath: '$(Build.ArtifactStagingDirectory)' artifactName: kiota steps: + - task: NuGetAuthenticate@1 + displayName: 'Authenticate to Azure Artifacts' + + - pwsh: | + @" + + + + + + + + "@ | Set-Content -Path "$(Build.SourcesDirectory)/nuget.config" -Encoding UTF8 + displayName: 'Create nuget.config (central feed)' - template: /.azure-pipelines/generation-templates/build-and-publish-kiota.yml@self # Downloads the latest public beta metadata. If there are changes, we checkin # the public metadata into microsoftgraph/msgraph-metadata, and then run the