How to remove merged feature branches in Azure DevOps?

Viewed 4552

We used to delete feature branches in pull requests automatically. But then we needed to add branch policy to feature branches and Azure DevOps says "Cannot delete a branch which has policies". Is there a way to delete all merged feature branches afterwards in the remote repo (ie. Azure Repo)? (Other than removing them one by one from UI)

Cannot delete a branch which has policies

1 Answers
Related