Unable to query data factory pipeline runs

JAY VORA 21 Reputation points
2020-11-09T17:40:52.157+00:00

I am trying to query against azure pipelines runs for a given data factory pipeline resource. The account I am using has build in role Contributor role to the data factory resource.

But I get a permission error when I try to query running pipelines through my application like this:

await client.PipelineRuns.QueryByFactoryAsync(dataFactoryResourceName, factoryRG ...

So question I have is why Contributor role is not sufficient to be able to query against azure data factory resource?
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#contributor

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,597 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JAY VORA 21 Reputation points
    2020-11-11T22:04:08.587+00:00

    Thanks! I think I figured out the problem. Since we had multiple cloud subscription commercial and usgov, it was reading resource from wrong subscription. Thanks for your input though!.


Your answer

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