Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Ankit_at_Axtria
New Member

Using REST APIs for pipeline management with Power BI embedded

Hi all,

 

We are using a Power BI Embedded license (with Pro license to manage admin activities).
We wanted to use the REST APIs for pipelines management (like create, deploye etc.)
For all APIs we are using master user to generate bearer token.

While are able to use other APIs to workspace managment, token generation etc, we can not use any of the APIs related to pipelines.
We always get a 401 error.

Is it possible to use REST APIs for pipelines management from Power Embedded license?

import requests
import json

url = "https://api.powerbi.com/v1.0/myorg/pipelines"

payload={}
headers = {
'Authorization': 'Bearer eyJ0eXAiO.......',
'Content-type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

 

The response is 401:

 

pipeline.PNG

 

2 REPLIES 2
Ankit_at_Axtria
New Member

Thanks lbendlin,

 

Just to extend on my questions here. If I try manually, I still see the option to create and operate peipelines in my embedded account.

Not sure if this is a premium trial or something.

However, the REST APIs for pipelines definately do not work with the reason you stated.

 

Thanks,

 

lbendlin
Super User
Super User

as far as I know Deployment Pipelines only work on P SKUs, not on EM SKUs.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.