Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 .
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.