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.