Hi SrikarV ,
Thankyou for putting effort and sharing the approach for resolving the issue.
Glad that you figured out the way to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Below are the steps you have performed in order to resolve the issue you were facing:
- Re-added the deleted trigger under the trigger folder(In devops git).
- After adding the trigger, detached the trigger from the Pipeline
- After detaching the trigger from the pipeline , deleted the trigger and then published and the changes are reflected in ARM template .
Kindly accept the answer by clicking on Accept answer
button so that the solution reaches the community in case anyone is facing similar issue. Thankyou.