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
AndyAnderson91
New Member

Embed tokens limit is exceeded but available features Power BI REST APIs shows 0% usage

Hi, i'm using embed Power Bi reports in my app and lately I've been getting 403 responses on embed token generation requests:
You have exceeded the amount of embed token that can be generated on a shared or ProPlus capacity. You need to purchase Azure capacities to generate embed tokens. See https://go.microsoft.com/fwlink/?linkid=868976 site:community.powerbi.com

 

Nothing surprising here since i use Premium Per User license type and according to this doc https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-faq this license has limited amount of embed tokens.

I'm considering purchasing capacity and one thing that confuses me is that i can't check current tokens usage %.
According to this article https://powerbi.microsoft.com/en-us/blog/power-bi-developer-community-march-update/ you can check it with https://docs.microsoft.com/en-us/rest/api/power-bi/available-features/get-available-feature-by-name API, but it returns usage: 0.

api_response.png

For this request i authorize with Power Bi account that stores my reports. In my app i use Service Principal auth method if it matters.

Is my problem different from hitting capacity limit or am i checking tokens usage in a wrong way?

Thank you in advance.

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @AndyAnderson91 ,

 

Embed tokens with Pro or Premium Per User (PPU) 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. In development testing, you can use free embed trial tokens with a Pro license. To embed in a production environment, you must purchase a capacity.

 

You can monitor Power BI Embedded capacity consumption by:

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @AndyAnderson91 ,

 

Embed tokens with Pro or Premium Per User (PPU) 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. In development testing, you can use free embed trial tokens with a Pro license. To embed in a production environment, you must purchase a capacity.

 

You can monitor Power BI Embedded capacity consumption by:

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Kudoed Authors