# Azure Artifacts

Azure Artifacts is an Azure DevOps package management service for hosting, sharing, and consuming software dependencies through controlled feeds.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-artifacts

> Azure Artifacts provides feeds for NuGet, npm, Maven, Python, Cargo, and Universal Packages, allowing teams to distribute internal packages and save dependencies from supported upstream sources. It combines package versioning, feed permissions, release views, and retention policies for development and CI/CD workflows.

## 9 key features of Azure Artifacts

1. **Multiple package formats in one feed**: Host NuGet, npm, Maven, Python, Cargo, and Universal Packages in the same feed. Teams can share a permission and governance model while retaining their language-specific package clients.
2. **Upstream dependency caching**: Configure supported public registries or other Azure Artifacts feeds as upstream sources. Packages installed through an upstream by a Collaborator or higher are saved locally, allowing subsequent consumers to restore the saved version without retrieving it again from the original source.
3. **Feed roles and access control**: Assign Reader, Collaborator, Contributor, and Owner roles to separate consumption, upstream saving, publication, and administration. Give build identities only the permissions required by their restore or publishing tasks.
4. **Immutable package versions**: A published package version cannot be overwritten, and deleting it does not make the version number reusable. Use unique versions for changed outputs and resolve failed releases by publishing a new version.
5. **Release views**: Use the default local, prerelease, and release views to expose selected package versions to consumers. Promote validated versions after pipeline checks instead of rebuilding the package for each release stage.
6. **Retention and recovery**: Configure retention policies to remove older, unpromoted versions and optionally preserve recently downloaded versions. Deleted packages remain recoverable in the recycle bin for 30 days, and restoration requires a feed owner.
7. **Universal Packages**: Publish versioned file collections such as command-line tools, deployment bundles, or shared test assets. Consumers can use the Azure DevOps CLI extension or pipeline tasks, and filtered downloads can retrieve only matching files.
8. **Package discovery and storage visibility**: Search packages across organization feeds and narrow results by feed, view, or package type. Inspect organization- and project-level storage consumption to identify growth and adjust retention or billing limits.
9. **npm vulnerability audit support**: Use npm audit and npm audit fix with Azure Artifacts to identify vulnerable dependencies and apply available updates. Review resulting dependency changes and run tests before accepting automatic fixes.

## Where Azure Artifacts is used

1. **Distribute internal libraries**: Publish shared authentication libraries, SDKs, or UI components to private feeds. Application teams consume explicit versions through their usual package managers rather than copying binaries or source between repositories.
2. **Centralize dependency restoration**: Configure a team feed with supported public and internal upstream sources, then point builds at that feed. Saved upstream packages remain available from the feed when the original registry is temporarily unavailable.
3. **Promote tested packages to release channels**: Publish a new package version, run integration and security checks, and promote the same version to a release view. Downstream release jobs consume that view to avoid selecting unvalidated versions.
4. **Distribute versioned tools and deployment assets**: Package internal command-line utilities, installation scripts, or test datasets as Universal Packages. Build and deployment jobs download a specific version, with file filters where only a subset is required.
5. **Replace package file shares**: Move packages from shared folders into indexed feeds with explicit permissions and version history. Before migration, correct malformed packages and replace workflows that overwrite binaries without incrementing the package version.

## How Azure Artifacts is priced

- **Included organization storage**: Each Azure DevOps Services organization receives 2 GiB of free Azure Artifacts storage. The allowance is shared across the organization's feeds rather than allocated separately to each project, feed, or user.
- **Metered package storage**: Storage beyond the included allowance is charged using tiered storage rates, with lower per-unit rates at higher usage tiers. Configure organization billing and the appropriate storage limit before exceeding the allowance; use the current Azure DevOps pricing page for applicable rates and currency.

## Services Azure Artifacts works with

The common architecture places Azure Artifacts between package producers and application build pipelines. Producer jobs publish uniquely versioned packages, validation jobs test those versions, and approved versions are promoted to a release view. Consumer pipelines restore pinned dependencies from the feed and generate deployable application outputs. Feed permissions must cover the actual build identity, including cross-project access when producers and consumers use different Azure DevOps projects.

For containerized applications, Azure Artifacts supplies language dependencies while Azure Container Registry stores the finished images. Pass package credentials only to the restore or build step that needs them, and keep credentials out of container layers and build logs. For App Service deployments, complete dependency restoration during CI and deploy the compiled or packaged output rather than giving the running application ongoing feed access.

Use pipeline-native authentication where supported. If a client requires a stored secret, retrieve it through Azure Key Vault at job execution time and rotate it independently of source code. Across these patterns, upstream caching, version pinning, release views, and retention policies provide separate controls for dependency availability, reproducibility, package approval, and storage growth.

- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Use Azure Key Vault through the build system when package tooling requires a stored credential; this is a pipeline-mediated pattern rather than a direct feed-to-vault connection. For example, an Azure Pipelines job can retrieve a narrowly scoped personal access token from Key Vault and supply it to a legacy package client without committing it to source control. Prefer supported pipeline identity authentication when available, and prevent secrets from appearing in logs or published outputs.
- **[Azure Container Registry](https://blowstack.com/tools/cloud-services-hub/azure-container-registry)**: Keep language packages in Azure Artifacts and container images in Azure Container Registry. For example, a pipeline can restore an internal npm package from an Artifacts feed, build an application image, and push that image to ACR. Use temporary build-secret mechanisms when a container build needs feed credentials so credentials do not persist in image layers.
- **[App Service](https://blowstack.com/tools/cloud-services-hub/app-service)**: Use a CI/CD pipeline to restore packages from Azure Artifacts and deploy the resulting application to Azure App Service. For example, a pipeline can restore private NuGet dependencies, publish a .NET application, and deploy the output to an App Service staging slot. Keeping package restoration in the build stage avoids requiring the running application to hold feed credentials.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Azure Artifacts uses service-managed Azure Blob Storage for package content transfers. Package clients can connect to Blob Storage endpoints during a download without the feed owner having to provision a storage account.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: Azure Artifacts hosts organization- and project-scoped package feeds inside Azure DevOps. Azure Pipelines can authenticate to those feeds to restore dependencies and publish packages, and a Classic release can start when a package is promoted to a selected feed view.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: Azure Artifacts can serve as a private Python package source for Azure Machine Learning environments. A workspace connection configured with the feed URL and credentials lets an environment build install packages from the feed.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Azure Artifacts administrative activity is recorded in the Azure DevOps audit log, which can be streamed to an Azure Monitor Log Analytics workspace. Teams can query feed and permission changes there and set alerts on selected audit events.
- **[Event Grid](https://blowstack.com/tools/cloud-services-hub/event-grid)**: Azure Artifacts audit events can be delivered to an Event Grid topic through Azure DevOps audit streaming. Event subscriptions can route feed administration events to downstream handlers.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Azure Artifacts can use Microsoft Entra identities, including service principals and managed identities, to authenticate clients that publish or restore packages. Feeds in different Azure DevOps organizations associated with the same tenant can also be configured as upstream sources, subject to feed and view permissions.
- **[Microsoft Sentinel](https://blowstack.com/tools/cloud-services-hub/microsoft-sentinel)**: Azure Artifacts audit events are available to Microsoft Sentinel through the Azure DevOps Auditing connector. Security teams can use those events to investigate changes to feeds or feed permissions alongside other Azure DevOps activity.

## Alternatives to Azure Artifacts in other clouds

### AWS

**[AWS CodeArtifact](https://blowstack.com/tools/cloud-services-hub/aws-codeartifact)**: AWS CodeArtifact and Azure Artifacts, the package management service in Azure DevOps, let teams publish and share software packages and cache upstream dependencies. CodeArtifact groups repositories into domains and meters storage, requests, and some data transfers; Azure Artifacts scopes feeds to a project or organization and charges tiered storage rates above its included allowance.

| | Azure Artifacts | AWS CodeArtifact |
| --- | --- | --- |
| Billed for | Storage above 2 GiB per organization | Storage, requests, some data transfers |
| Repository scope | Project or organization per feed | One fixed domain per repository |
| Access control | Four built-in feed roles | AWS IAM policies |

Compared Nov 2026.

## What is Azure Artifacts

Azure Artifacts manages reusable software packages within Azure DevOps. A feed can contain several package types, including NuGet libraries, npm modules, Maven artifacts, Python distributions, Rust crates, and Universal Packages. Universal Packages support versioned collections of files that do not need a language-specific package format. The service is a package repository, not a container registry or a replacement for source control.

Start by creating a feed and choosing its scope deliberately. Project-scoped feeds belong to a particular project, while organization-scoped feeds support organization-wide discovery and sharing subject to permissions. Feed scope affects endpoint URLs and access configuration. For cross-project builds, verify both the consuming pipeline identity's feed permissions and any required access to the project hosting the feed.

Configure clients using the feed's connection instructions. Developers typically use their existing package tools, such as dotnet, npm, Maven, pip, or Cargo, with the appropriate endpoint and authentication mechanism. In Azure Pipelines, authenticate package operations using the relevant authentication task and pipeline identity where supported. Do not commit credentials to package configuration files, and grant publishing permissions only to identities that actually publish packages.

Upstream sources let a feed combine packages published internally with dependencies obtained from supported public registries or other Azure Artifacts feeds. When an identity with the Collaborator role or higher installs a package through an upstream source, the service saves a copy in the feed. Configure one feed in each client configuration where practical so that Azure Artifacts can apply its defined source search order. Cached dependencies improve availability, but packages that have never been saved still depend on upstream availability.

Published package versions are immutable. Once a version has been published, its version number remains reserved even if the package is deleted. Build automation must therefore generate a new version for changed package contents rather than attempting to overwrite an existing version. Pin dependency versions and commit supported lock files to make restores more repeatable.

Use feed views to separate package publication from release approval. Newly published packages appear in the local view; validated versions can be promoted to prerelease or release views without rebuilding or republishing them. Promotion does not itself execute tests or security checks, so implement those checks in the pipeline before promotion.

Manage storage across the entire organization, not just individual feeds. Saved upstream packages and frequent internal builds can both increase consumption. Configure retention policies early, protect versions required for supported releases, and account for the 30-day recycle-bin period when planning deletion and recovery. Azure Artifacts package storage is distinct from Azure Pipelines build and pipeline artifacts, which serve different workflow purposes.
