Hi,
In one of my flows I would like to add the functionality to delete test cases in DevOps. I put the DevOps http request action:
I am receiving the TF400813 - 'Unauthorized' error:
I took The URI address from the MS site:
In the DevOps I have the license type: Basic + Test Plans together with following permissions:
I can delete test cases manually in DevOps.
Can you please advise me what can be the issue here? Is there any way to modify my DevOps http request?
Thank you
Jacek
Hi @JackP ,
Thanks for sharing.
Glad to see you solved the problem.
You could mark your answer as a 'solution' to close the case.
Best Regards,
Charlie Choi
Hi,
I found the solution so the topic can be closed.
The workaround for above issue is to send POST Http request instead of DELETE with different URI ($batch):
1. Do delete the work item:
2. If the work item is connected with test plan/ test suite, then before deleting, it should be removed from test suite:
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1