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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.