Azure DevOps pipeline artifact download not working

Vesa Savikko 20 Reputation points
2025-09-02T08:00:44.8233333+00:00

Hi,

We are facing following error message with multiple pipeline runs when trying to download the artifacts.

500 - Something went wrong!

We've encountered an error and cannot fulfill this request. We will trace the error and get a fix out soon.

9/2/2025 7:50:02 AM (UTC)

This is blocking our work currently. Is there anything we could do to mitigate the issue?

Best regards,
Vesa

Azure DevOps

Answer accepted by question author
Durga Reshma Malthi 11,600 Reputation points Microsoft External Staff Moderator
2025-09-02T15:37:33.1266667+00:00

Hi Vesa Savikko

This is an outage issue, I believe that PG Team has rolled backed the feature, could you please try again once.

And try this if not worked,

If you're using the older DownloadBuildArtifacts task, consider switching to DownloadPipelineArtifact- https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/download-pipeline-artifact-v2?view=azure-pipelines

- task: DownloadPipelineArtifact@2
  inputs:
    artifact: 'your-artifact-name'
    path: '$(Pipeline.Workspace)'

As a workaround until Microsoft fixes this, you can download artifacts manually via REST:

curl -u :<PAT> \
  "https://dev.azure.com/<ORG>/<PROJECT>/_apis/build/builds/<BUILD_ID>/artifacts?api-version=7.1-preview.5"
curl -L -u :<PAT> "<downloadUrl>" -o artifact.zip

or

GET https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}/artifacts?artifactName={name}&api-version=7.1-preview.5

this will give you download URL, try accessing that.

or else try via Azure CLI but make sure az devops extension installed.

az pipelines runs artifact download \
  --organization https://dev.azure.com/<ORG> \
  --project <PROJECT> \
  --run-id <BUILD_ID> \
  --artifact-name <ARTIFACT_NAME> \
  --path .

Downloading the artifacts via az cli is a workaround that can be applied until the issue is resolved. You need a PAT with Build Read permissions and have az cli installed. Replace the organization name, project name, run id and artifact name with your own and it should work.

az extension add --name azure-devops
az devops configure --defaults organization=https://dev.azure.com/myorg
echo "mypat with build read permission" | az devops login --organization https://dev.azure.com/myorg
az pipelines runs artifact download \       
  --organization https://dev.azure.com/myorg \
  --project "My Project" \
  --run-id 123456 \
  --path "./artifacts" \
--artifact-name "My-Artifact"

Reference:

https://developercommunity.visualstudio.com/t/Artifact-downloading-started-to-fail-sud/10959225?viewtype=all

Hope this helps!

Please Let me know if you have any queries.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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