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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
chandrasekarimp
Frequent Visitor

Power BI Report integrates with NodeJS REST api

Power BI Report to be integrate with NodeJS REST api using JWT token with unlimited refresh. We will use powerbi-react-client & pass jwt token via embed report url from our custom application, that jwt token should be captured in M Code(Power query) and pass that JWT token to our NodeJS API service .

1 REPLY 1
Anonymous
Not applicable

Hi @chandrasekarimp ,

it seems that there are some possible ways to achieve this, such as:

Using the Power BI JavaScript API to embed a report in your application and pass the JWT token as a query parameter in the embed URL. You can then use the Web.Contents function in Power Query to access the NodeJS REST api with the JWT token as a header.
Using the Power BI Node SDK to generate an embed token for a report and pass it to the powerbi-react-client component. You can then use the Web.Contents function in Power Query to access the NodeJS REST api with the JWT token as a header.
Using the Power BI REST API to generate an embed token for a report and pass it to the powerbi-react-client component. You can then use the Web.Contents function in Power Query to access the NodeJS REST api with the JWT token as a header.

 

More details: node.js - Node js App integration with power bi rest Api - Stack Overflow

Introducing the new Power BI JavaScript API | Microsoft Power BI Blog | Microsoft Power BI

 

If I have misunderstood your meaning, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors