You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to call the following function get_artifact("dev-control-plane-deployments", 689011, artifact_name="output") and get a successful response as follows,
However when I try to download the artifact zip using get_artifact_content_zip("dev-control-plane-deployments", 689011, artifact_name="output") I get the following error response
TF400813: The user 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.
Please help me find a solution so I can use get_artifact_content_zip() to download the artifact zip file
Note that I am able to download the artifact directly from the pipeline run via the web browser, its just the API call that does not seem to work
The text was updated successfully, but these errors were encountered:
I reported this issue with Azure support and they asked me to contact the product team directly.
I'm using a PAT which has the Build Read scope
7.1.0b4 version of the Devops library is installed as a dependency
I will be referring to functions in https://github.com/microsoft/azure-devops-python-api/blob/dev/azure-devops/azure/devops/v7_1/build/build_client.py
I am able to call the following function
get_artifact("dev-control-plane-deployments", 689011, artifact_name="output")
and get a successful response as follows,However when I try to download the artifact zip using
get_artifact_content_zip("dev-control-plane-deployments", 689011, artifact_name="output")
I get the following error responsePlease help me find a solution so I can use
get_artifact_content_zip()
to download the artifact zip fileNote that I am able to download the artifact directly from the pipeline run via the web browser, its just the API call that does not seem to work
The text was updated successfully, but these errors were encountered: