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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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