Hello @Krishnamohan Nadimpalli,
I tried following up with my internal team and have not received the expected response.
But here is my understanding of your ask.
You need to delete the artifacts from the arm template and configure the deployment task. Here, if you select "delete artifacts not in template" option, any artifact in the target workspace that doesn't belong to the ARM template generation from the source will be automatically deleted.
release pipeline:
yaml pipeline:
Please let me know if you have any further questions.
I am looking forward to hearing from you.