A 404 when downloading Azure DevOps artifacts is commonly handled by first verifying the artifact from the pipeline run UI, then using a supported download method outside the browser if the UI path fails.
- In Azure DevOps, go to Pipelines > select the pipeline run > Summary.
- In the related section, select the published artifact.
- Expand the artifact folder and confirm the artifact is actually present.
If the artifact exists but the browser download opens a 404 page, use one of these supported download methods:
- YAML shortcut
steps: - download: current artifact: WebApp - DownloadPipelineArtifact@2 task
steps: - task: DownloadPipelineArtifact@2 inputs: artifact: WebApp - Azure CLI
az pipelines runs artifact download --artifact-name 'WebApp' --path $(System.DefaultWorkingDirectory)/bin/WebApp --run-id '<run id here>'
Important checks:
- Azure DevOps Server vs Azure DevOps Services:
DownloadPipelineArtifact@2is supported on Azure DevOps Services only. On Azure DevOps Server, use Download Build Artifacts instead. - Cross-project downloads: if the artifact is from a different project, the user must have the appropriate permissions on both the downstream project and the pipeline that generated the artifact.
- If using build artifacts in classic pipelines, configure Download Build Artifacts with:
- Download artifacts produced by: Specific build
- Project
- Build pipeline
- Build version to download: specific version
- Build
- Download type: specific artifact
- Artifact name
If this started happening across multiple runs, there is also precedent for a service-side outage affecting artifact downloads. In that case, a practical workaround is downloading with Azure CLI until the issue is resolved.