Add support for authenticating to an Azure DevOps feed outside of organization#13221
Add support for authenticating to an Azure DevOps feed outside of organization#13221hallipr merged 1 commit intoAzure:mainfrom
Conversation
conniey
commented
Dec 5, 2025
- Add support for authenticating to feeds in a different Azure DevOps organization
- Based on documentation from: https://eng.ms/docs/coreai/devdiv/one-engineering-system-1es/1es-docs/azure-artifacts/managed-identity-authentication-tasks#npmauthenticatev0
There was a problem hiding this comment.
Pull request overview
This PR adds support for authenticating to Azure DevOps npm feeds in different organizations by introducing a configurable service connection parameter to the create-authenticated-npmrc template.
- Adds optional
ServiceConnectionparameter to enable cross-organization feed authentication - Passes the service connection to the npmAuthenticate@0 task's
azureDevOpsServiceConnectioninput - Maintains backward compatibility with empty string default value
|
The following pipelines have been queued for testing: |
|
While I'm ok with the extensibility here I'm curious what other feed you are trying to connect to? In particular we are soon going to be forced to use only a single feed so we will not be able to connect to different ones. |
1ES has an internal MCP registry that internal folks are allowed to consume. In order to show up on the list of available MCP servers, we need to publish to that registry. |
|
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
/azp run azure-sdk-tools - sync - eng-common |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13221 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Connie Yau <conniey@microsoft.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13221 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Connie Yau <conniey@microsoft.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13221 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) Co-authored-by: Connie Yau <conniey@microsoft.com>