cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ysapiyev Member
Member

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

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.
1 REPLY 1
Community Support Team
Community Support Team

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.