Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
We have certain reports published in the power bi service and want to embedd in the Dot Net Nuke(It is a CMS website). So i could not use the SDK(or the samples on github). I noticed that there is an option called Rest API using which we can embedd to a web site.
This is the URL i feel should work for my purpose
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreport#code-try-0
But I am unable to find any sample code to understand how to pass the authentication and load the report.
Can someone help provide some sample code on how to pass the authentication and how to render the embedded URL in response.
Please not the users of the CMS website does not have power bi accounts, but we have procured one Pro licence and embedded capacity.
Solved! Go to Solution.
Hi @Anonymous ,
I would suggest you have a look at these demos first.
And there are some documents for your reference.
2. power-bi/developer/overview-of-power-bi-rest-api
However, you need to know the following limitations of embedded report.
To view the embedded report, users need either a Power BI Pro license or the content needs to be in a workspace that's in a Power BI Premium capacity (EM or P SKU).
Hi @Anonymous ,
I would suggest you have a look at these demos first.
And there are some documents for your reference.
2. power-bi/developer/overview-of-power-bi-rest-api
However, you need to know the following limitations of embedded report.
To view the embedded report, users need either a Power BI Pro license or the content needs to be in a workspace that's in a Power BI Premium capacity (EM or P SKU).