Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ozgursarioglan
Frequent Visitor

Power BI Embedded React Generate Token key

Hello Everyone,

 

We are trying to develop a react application using this npm package.
https://www.npmjs.com/package/powerbi-report-component

 

I created a Power BI embedded environment via this link.

https://app.powerbi.com/embedsetup/

 

My organization don't have an azure account but our powerbi license is pro

I know these details: embedUrl, tokenType, accessToken 

Question 1: 

which token type should I choose? "Embed"  or "Aad" (we do not use microsoft azure)

 

Question 2:

Does the token key I use have to have a lifetime?

 

 Question 3:

Is it possible to generate token keys with username and password in the application? What's the easy way to do this?

What is the client_id in the example below? where can I get.

client_id
and which user should I connect to here?

Annotation 2020-12-14 114503.png

 

 

 





0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.