Reply
Member
Posts: 240
Registered: ‎01-15-2018
Accepted Solution

Automatically generate embed token in web app

Hi everyone,

I wanted to embed Power BI report in web page. I was able to do it with manually inserted embed token, how can I generate embed token automatically inside of web app?

 

Regards,

Yerkhan


Accepted Solutions
Highlighted
Community Support Team
Posts: 7,295
Registered: ‎05-02-2017

Re: Automatically generate embed token in web app

Hi Yerkhan,

 

It seems you are talking about the demo PowerBI-JavaScript

1. Using the C# SDK, please refer to https://github.com/Microsoft/PowerBI-CSharp

2. Using the azure-activedirectory-library-for-js. Then call the api/power-bi/embedtoken.

3. Using other ADAL libraries, such as azure-activedirectory-library-for-python

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post


All Replies
Highlighted
Community Support Team
Posts: 7,295
Registered: ‎05-02-2017

Re: Automatically generate embed token in web app

Hi Yerkhan,

 

It seems you are talking about the demo PowerBI-JavaScript

1. Using the C# SDK, please refer to https://github.com/Microsoft/PowerBI-CSharp

2. Using the azure-activedirectory-library-for-js. Then call the api/power-bi/embedtoken.

3. Using other ADAL libraries, such as azure-activedirectory-library-for-python

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.