cancel
Showing results for 
Search instead for 
Did you mean: 
0

https://api.powerbi.com/v1.0/myorg/GenerateToken returning 403 error

Hello Team,

 

We have embedded the power BI report in our react front-end application. All of a sudden without any change to our workspace https://api.powerbi.com/v1.0/myorg/GenerateToken response started failing. we are unable to load the report in our application. Its returning 403 forbidden error.

 

Can you pls suggest what's the issues? anything changed from the Power BI side? We have checked the client's secret etc, and everything looks fine.

 

 

 

Status: Delivered

Hi @satyaparida 

Pro or Premium Per User(PPU) license are intended for development testing, so users with these kinds of licenses can only generate limited number of tokens. To remove the restriction, you need a purchased Premium or Embedded capacity. For more details, please refer to How many embed tokens can I create?

Also, for more details about Premium capacity and Embedded capacity, you may refer to Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Docs.

 

Best Regards,
Community Support Team _ Ailsa Tao

Comments
satyaparida
Microsoft

After digging down further we found the exact error: 

 

"error":{"code":"InvalidRequest","message":"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"

 

How can we overcome this issue? pls, suggest.

We are part of this group: https://msit.powerbi.com/groups/77ad0fab-5a8b-423c-abe4-388d34ff8662/list

 

Ailsa-msft
Community Support
Status changed to: Delivered

Hi @satyaparida 

Pro or Premium Per User(PPU) license are intended for development testing, so users with these kinds of licenses can only generate limited number of tokens. To remove the restriction, you need a purchased Premium or Embedded capacity. For more details, please refer to How many embed tokens can I create?

Also, for more details about Premium capacity and Embedded capacity, you may refer to Capacity and SKUs in Power BI embedded analytics - Power BI | Microsoft Docs.

 

Best Regards,
Community Support Team _ Ailsa Tao