title: The client with object id does not have authorization to perform action 'Microsoft.DataFactory/datafactories/datapipelines/read' over scope
body: <p>I was trying to invoke data factory pipeline from azure function programmatically. Its throwing following error.</p>
  
  <blockquote>
    <p>link:
    <a href="http://eatcodelive.com/2016/02/24/starting-an-azure-data-factory-pipeline-from-c-net/" rel="noreferrer">http://eatcodelive.com/2016/02/24/starting-an-azure-data-factory-pipeline-from-c-net/</a></p>
    
    <p><em>AuthorizationFailed: The client 'XXXX-XXXXX-XXXX' with object id 'XXX829e05'XXXX-XXXXX'  does not have authorization to perform action
    'Microsoft.DataFactory/datafactories/datapipelines/read' over  scope
    '/subscriptions/XXXXXX-4bf5-84c6-3a352XXXXXX/resourcegroups/fffsrg/providers/Microsoft.DataFactory/datafactories/ADFTestFFFS/datapipelines/ADFTutorialPipelineCustom'.</em></p>
  </blockquote>
  
  <p>tried to search similar issues, but none of the search result gave me solution to my problem,  Can you please guide us what could be the issue?</p>
  
  <p>Objective is to, run data factory pipeline whenever file being added to blob. so to achieve the result we are trying to invoke data factory pipeline from azure function using blob trigger.</p>