# Get Deployment Pipelines from Power BI API with Python

> I explain how to call the Power BI APIs from Python with a Service Principal to get the deployment pipelines managed in your tenant.

- URL: https://data-goblins.com/get-deployment-pipelines-power-bi-python
- Author: Kurt Buhler
- Published: 2022-05-06
- Topic: Admin and governance

# USE PYTHON TO GET DATA FROM POWER BI APIs

*…such as the deployment pipelines a **user** or **service principle** has access to*

---

## IN THIS ARTICLE

- **Get Deployment Pipelines** from Power BI Admin API using Python

<figure class="dg-figure"><img src="https://images.data-goblins.blog/2025/12/deployment-pipelines-python-output.png" alt=" Example result dataframe for deployment pipelines obtained with the Admin API "><figcaption>Example result dataframe for deployment pipelines obtained with the Admin API</figcaption></figure>

---

## HOW TO SET IT UP?

I wrote a post about setting up a Service Principal, permissions & settings to get you started, as well as explaining the Authentication. You can [**find that post, here**.](https://data-goblins.com/power-bi-api-python)

---

---

*Code is provided as-is with no guarantees or warranties of any kind. Something I did quickly in spare time.*

---
