Forum Discussion
Token usage in Power BI
- 4 years ago
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. Go to Available Features to check the usage value that indicates the current embedded usage in percentage.
Embed Power BI content in an embedded analytics application with service principal and an application secret - Power BI
Learn how to authenticate for embedded analytics using an Azure Active Directory application service principal and an application secret.https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal
Is the response code correct?The API will return the % of usage from the total amount.
No parameters need to be passed, the% of usage from the total amount obtained refers to the number of service principal or master account.