Forum Discussion
Help Appreciated! Need assistance with Pipeline calls using REST API
Hey arpost ,
I can see deployment pipelines
What happens if you use the Try It button on the Get Pipelines page?
Are you using a service account?
What happens when you try doing the Admin version?
GET https://api.powerbi.com/v1.0/myorg/admin/pipelines
Admin - Pipelines GetPipelinesAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Thanks for the reply, Watsky! Good question. I am also getting a 401 when trying to use the Admin API you linked. Anything pertaining to pipelines fail for me despite the fact that I am an admin.
When I use the Try it! feature, I get a response as expected, which suggests to me there's a problem with the app registration in Azure. But I can't figure out what it would be since (1) other API calls using that app reg. work just fine (e.g., Get Groups, Get Dataflows) and (2) I have enabled all permissions pertaining to Pipelines (except Deploy) as instructed by MS doc.
Very frustrating!
- lbendlin3 years agoSuper User
Check your auth token with jwt.io - might be a missing scope.
- arpost3 years agoPost Prodigy
Thanks for the reply, lbendlin. With MS custom connectors, they manage the tokens; I just provide some of the details for the app reg; the scope I am using is openid.
- lbendlin3 years agoSuper User
You can raise an issue at https://issues.powerbi.com . If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/