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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.