I'm deploying my data factory using ARM Templates. When I delete a pipeline, the old version is not deleted from the target environment. The same happens with renaming, my target environment then contains a pipeline with the old and AND a pipeline with the new name.
How do I delete old pipelines with ARM Template deployments?
Note: I only want to delete the orphaned pipelines inside the data factory, not wipe out the entire data factory.



