Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello; I was wondering if anyone has had any luck building a Fabric Gen 2 Dataflow to pull the Power BI Rest APIs? I'm curious on the token exchange process, and navigating that token expiring process. Thank you!
Hi @SELECTDBA ,
Do you want to connect to REST APIs in Dataflow Gen2 using the Web API connector provided by Data Factory in Microsoft Fabric?
Here's an official document about this. Please kindly refer to:
Connect to REST APIs in dataflows - Microsoft Fabric | Microsoft Learn
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, Stephen. I did stumble onto that documentation, but I was curious more on the token exchange process. We're pulling from the Power BI Rest API (here). Today we use Python with the MSAL package to get the access token using a Service Principal. That token expires after an hour, so we handle the token exchange process inside of Python. I was wondering if anyone had already tried this portion, or if there was documentation on it.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |