I tried to programmatically invoke a data factory pipeline from an Azure function. The following error throws him out.
link: http://eatcodelive.com/2016/02/24/starting-an-azure-data-factory-pipeline-from-c-net/
AuthorizationFailed: Client 'XXXX-XXXXX-XXXX' with object identifier 'XXX829e05'XXXX-XXXXX' does not have authority to perform the action 'Microsoft.DataFactory / datafactories / datapipelines / read' over scope '/ subscription / XXXXXX-4bf5-84c6 - 3a352XXXXXX / resourcegroups / fffsrg / vendors /Microsoft.DataFactory/datafactories/ADFTestFFFS/datapipelines/ADFTutorialPipelineCustom.
I tried to find similar problems, but none of the search results gave me a solution to my problem. Could you tell us what could be the problem?
The goal is to start the data factory pipeline whenever a file is added to a blob. therefore, to achieve the result, we try to call the data factory pipeline from the azure function using the blob trigger.
source
share