Share via

What is Azure artifact maximum retention period?

Thibault, Vincent 60 Reputation points
2026-03-06T17:21:19.4033333+00:00

Is 4000 days the maximun limit for the retention of Azure artifacts in a "feed"?

See messaged displayed in RED in PMT-2638_azure_artifact_max_retention_4000.png

Is this 4000 days limit configurable somehow ?

Azure DevOps

Answer accepted by question author

Pravallika KV 15,795 Reputation points Microsoft External Staff Moderator
2026-03-06T18:59:48.58+00:00

Hi @Thibault, Vincent ,

When you configure retention policies for an Artifacts Feed, the UI restricts the retention duration to a maximum of 4000 days.

This limit applies to retention settings such as:

  • Delete packages older than X days
  • Keep only the last N versions
  • Retention policies for package versions

The warning message you see appears because the value entered exceeds the allowed maximum.

If I understand correctly, not enabling time-based retention in @Release VIEW of a FEED, retention will be infinite for all artifacts in this @Release VIEW, while other artifacts only found in @local would be subject to time-based retention.

Yes, that's correct.

If time-based retention is not enabled for the @Release view, artifacts promoted into a view (like @Release) won't get deleted by your feed’s retention policy and thus can live indefinitely until you manually remove them. Packages that remain only in the default (@local) view are subject to the feed’s retention rules i.e., “delete after X days” rule you’ve set.

Was 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.