Enable/Disable the pipeline Trigger using REST API

Mohammad Zouraiz Butt 0 Reputation points
2023-04-27T13:59:28.83+00:00

Hi,
I hope you are doing well. I am having difficulty in enable/ disable the Azure Data factory Pipeline trigger using REST API. User has already following roles assigned to him in given below image.
User's image

i have tried on the documentation page in which it run successfully and trigger gets disabled.
https://learn.microsoft.com/en-us/rest/api/datafactory/triggers/stop?tabs=HTTP#code-try-0

User's image

but when I use it in the web activity using same request URL in the above mention picture. it gives the Error.

User's image

what RBAC role am I missing. I need your help in identifying the root cause.

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.