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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Analitika
Post Prodigy
Post Prodigy

Token usage in Power BI

Hello,

 

I would like to know how I could find current token usage of application in Power BI? I know that we can use (GET https://api.powerbi.com/v1.0/myorg/availableFeatures(featureName='{featureName}')). In example I found featureName was used embedtTrial, so what name I should pass here?  Application id, tenant id , application name or what parameter, token_id? What parameter I should to know the usage of the token?

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

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 tokensPurchase 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 

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

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 tokensPurchase 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 

V-lianl-msft
Community Support
Community Support

 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.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.