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

PowerBI Embedded Report

I am in a project that allows a PowerBI user to interact with any report on TV. Any user with a PowerBI account can use. We made an app and the user logs in to it with Azure Active Directory. After that, the system makes a request to the PowerBi API and obtains the embed credentials for use in the Javascript Power BI Embedded Playground. But yesterday the server started displaying the following message: "You have exceeded the amount of embed token that can be generated on a shared capacity. You need to purchase Azure capabilities to generate embed tokens."
Is there any other way to interact with a report using some kind of Javascript API or Framework?

2 REPLIES 2
Jayendran
Solution Sage
Solution Sage

Hi @lfsousa ,

 

Basically to embed the PowerBI Reports using the Javascript API you need to pass the token, either

Embed => App Owns data 

(or)

AAD => User Owns data

 

Without the token there is no way to interact a report using JS API/ Framework

 

Here is the official doc about the tokens,

 

Embed tokens with PRO license are intended for development testing, so a Power BI master account or service principal can only generate a limited number of tokens. Purchase a capacity for embedding in a production environment. There's no limit to how many embed tokens you can generate when you purchase a capacity. Go to Available Features to check the usage value that indicates the current embedded usage in percentage.

 

Basically you need to purchase the Embed/premium capacity 

Hi @lfsousa 

 

Do you have any update ? If my replay helps please accept it as answer/giving kudos which will help other community members

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.