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.
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.
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.
Solved! Go to Solution.
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.
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.
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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
19 | |
18 | |
18 | |
9 |