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!.
Unable to query data factory pipeline runs
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