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
pooneh_ce
Frequent Visitor

entegration power bi rest api in php

Is it possible to integrate powerbi rest api into php?especifically for show reports and charts? does it need to use powerbi js file?

what about odata?

 

how is it possible to use jwt for it?

2 REPLIES 2
Jon-Heide
Microsoft Employee
Microsoft Employee

Unclear if you are referring to PowerBI.com REST API or PowerBI Report Server REST API.

 

If you are referring to PBI Report Server, it is a OneAPI compliant API and you can generate php or other clients through swagger tools - https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0

 

As for a JWT, the server supports basic auth, windows auth or custom auth. There's no general purpose JWT or other token based auth for it at the moment.

 

I mean power bi report server and I want to know how I can show charts from rest apis in a php page? for example I am using the PowerBIReports service. Is the output  a powerbireport type? how should  I show the output in a php page?do I need to use powerbi javascript or any other dll? are there any samples or tutorials about it?

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.