Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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:
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,
as far as I know Deployment Pipelines only work on P SKUs, not on EM SKUs.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!