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

Power BI Embedded Capacity Issue

Hi There,

 

We have embedded few reports in our angular application. We are using app owns data concept, using service priciple. We created a app registration in azure and added it as service principal in the power bi workspace and master dataset. While developing the app we were using free credits. While going to production we created "A1"  size capacity in Azure. and configured it in the workspace using power bi admin portal. But what we are observing is that somehow capcity is not getting used and instead free credits are still getting used. And once the free credits are exhausted our reports stops rendering because of token generation error.

 

I am checking the token usage using below link: 

https://api.powerbi.com/v1.0/myorg/availableFeatures(featureName='embedTrial')

 

I am checking the capcity usage using Microsoft Capacity Metrics application and shows blank for any given date.

 

Can some one please let me know what I would be doing wrong. Happy to provide any more information that may help you in diagnosing the issue.

3 REPLIES 3
Anonymous
Not applicable

Hi @CKShinde ,

Please have a try.

The first step is to ensure that your workspace is indeed assigned to the "A1" size capacity you've created. You can do this by navigating to the Power BI Admin portal, selecting the workspace, and checking the workspace settings to confirm the capacity assignment.Create Power BI Embedded capacity in the Azure portal - Power BI | Microsoft Learn

 

Using the Microsoft Capacity Metrics app to monitor your capacity is a good practice. However, seeing blank metrics could indicate that the reports are not utilizing the assigned capacity. This could be due to the reports not being properly associated with the workspace that's assigned to the capacity. Double-check the association and ensure that the reports are indeed part of the workspace that's assigned to the "A1" capacity.

 

The token generation error you're encountering once the free credits are exhausted could be related to the capacity issue. Ensure that the service principal used for embedding has the necessary permissions and is correctly associated with both the dataset and the report workspace.Troubleshoot Power BI REST APIs - Power BI | Microsoft Learn

 

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

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

 

Thanks team for the response!

 

I crossed checked as per your suggestion and following are my observations:

1. In workspace settings clicked on Premiun and can see License mode is set as Embedded and License Capacity is the correct capacity in the azure portal.

2. Made sure all reports are indeed in the correct workspace.

3. In our case we are using two reports from two different workspaces and both work spaces are assigned to the azure capacity.

4. Application is registered in azure with delegated permissions to almost all power bi permissions. Grant admin consent is selected.

5. Checked the application name is added as service principal in both workspaces as admin. The service principal is also added in the master dataset.

6. Token generation works until the free credits are exhausted. Below is the result of the API, when it starts returning 100. Token generation stops.

 

{
    "name": "embedTrial",
    "state": "Enabled",
    "extendedState": "Enabled",
    "additionalInfo": {
        "usage": 90
    }
}

You should make sure all related items, including the reports and semantic models which are connectedto them reside in workspaces which are assigned to your capacity.

If your are generating a token for multiple reports, you can try to generate for each 1 seperately and see which report is the cause of the problem by checking the trial tokens counter.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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