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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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