Forum Discussion
Power Bi embed with Java based web application
Hello Everyone,
We have a bunch of power bi reports and dashboard that we want to embed to our java based web apllication.
I registered my web applciation in https://dev.powerbi.com/apps. I got Client Id and Client Secret.
I am trying to embed my dashboard by following this example. https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html#
I am not sure how to get below using Client Id and Client Secret.
1) Embed Token
2) Embed URL
3) Report Id
Can some help me with java/javascript code to get the above three fields using Client Id and Client Secret. Once I have these three fields I can embed report in my java application
8 Replies
- mozakkir1New Member
Any help??
or shall I raise this under some other category
- v-ljerr-msftMicrosoft Employee
Hi mozakkir1,
Followings are some similar threads. Could you go to check if it helps in your scenario? :smileyhappy:
https://github.com/Microsoft/PowerBI-JavaScript/issues/213
Regards
- ashorekumarFrequent Visitor
I was able to embed power BI report on my java application.Please check below url:
https://stackoverflow.com/questions/50156057/steps-to-integrate-powerbi-report-on-java-application
- d_u_aHelper I
ashorekumar Could you send your first step codes ? (Generating AAD token with Java)
- ashorekumarFrequent Visitor
d_u_a:This is the best solution to generate AAD Token.
https://community.powerbi.com/t5/Developer/Rest-api-usage-with-Java/m-p/58514#M1841