Forum Discussion

mozakkir1's avatar
mozakkir1
New Member
8 years ago

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