Consume private packages from DevOps Artifacts in AzureML

Fabian Geiger 1 Reputation point
2020-08-26T20:27:21.8+00:00

I have published a private Python package to Azure DevOps Artifact.
When trying to follow this tutorial I encounter following problem, to which there is no help online whatsoever.

{
"code": "AciDeploymentFailed",
"statusCode": 400,
"message": "Failed to submit build for Environment with Name: deploymentenv Version: Autosave_2020-08-26T19:42:40Z_b11e8d13 Reason: {\n \"error\": {\n \"code\": \"UserError\",\n \"severity\": null,\n \"message\": \"Unable to set authorization on python feed. Multiple connections available for the specified host company.pkgs.visualstudio.com\",\n \"messageFormat\": null,\n \"messageParameters\": null,\n \"referenceCode\": null,\n \"detailsUri\": null,\n \"target\": null,\n \"details\": [],\n \"innerError\": null,\n \"debugInfo\": null\n },\n \"correlation\": {\n \"operation\": \"fcd33b3aaf97a04982c36841fd2176d5\",\n \"request\": \"4ddc0bff3cd6ec47\"\n },\n \"environment\": \"westeurope\",\n \"location\": \"westeurope\",\n \"time\": \"2020-08-26T20:15:48.9795242+00:00\",\n \"componentName\": \"environment-management\"\n}.",
"details": []
}
I replaced the actual company name with "company".

What does the error Unable to set authorization on python feed. Multiple connections available for the specified host mean?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,852 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 44,951 Reputation points Microsoft Employee
    2020-08-27T11:53:25.37+00:00

    @Fabian Geiger adding a reference to the same issue posted on VS community channel. Is the PAT token scope set to Packaging > Read?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.