Search code examples
azureazure-devopsazure-artifacts

How to permanently delete a feed in Azure DevOps's Artifacts?


I'm trying to remove a project-scoped feed in Azure DevOps's Artifacts because I'd like to use that feed name for an organization-scoped feed (which allows package sharing across different projects).

When I click "Save" in the feed renaming UI I get this error:

The feed name 'myorg.internal' will be available soon.

Inspection of the browser Network tab shows this request fails with HTTP 409: PATCH https://myorf.feeds.visualstudio.com/_apis/Packaging/Feeds/ee54xxxx-xxxx-xxxx-xxxx-xxxx49c10d83.

{
    "$id": "1",
    "innerException": null,
    "message": "A feed with name 'myorg.internal' exists in feed recycle bin.
      The name will be available soon after it is permanently deleted from the feed recycle bin.",
    "typeName": "Microsoft.VisualStudio.Services.Feed.WebApi.FeedNotReleasedException,
      Microsoft.VisualStudio.Services.Feed.WebApi",
    "typeKey": "FeedNotReleasedException",
    "errorCode": 0,
    "eventId": 3000
}

Is there a way to expedite the permanent feed deletion?


Solution

  • Once deleted, the feed will enter a disabled state for 30 days, after which it will be permanently deleted. In this state, packages cannot be installed, published, or manipulated and storage will not be reclaimed. You may restore the feed to its original state, or permanently delete it in the feed settings to clean up storage. This feed name may not be reused until permanently deleted.

    Please go to Deleted feed's Feed Settings,then click Permanently Delete Feed button.

    enter image description here

    enter image description here

    enter image description here