Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Power BI Embedded in Dot Net Buke without SDK

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.

 

 

1 Reply