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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
RizwanUddin
New Member

Export to file in power bi embedded

Hi 

 

We are using Power Bi as Embedded and have A3 SKU. We show reports published on Power BI through our application using embedding to our clients. Recently we have added functionality of Export to PDF and PPT. With my testing user it is working fine but on production is generates following 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"

  }

}

 

As I mentioned I have A3 Capacity and the mentioned report is in the workspace which is already on this dedicated capacity.

 

We I switch this workspace to non premium (dedicated) capacity it generates following error

 

{
"error": {
"code": "InvalidRequest",
"message": "Report requested for export is not on dedicated capacity"
}
}

 

Can any one help me on this?

 

 

6 REPLIES 6
Anonymous
Not applicable

Hi @RizwanUddin 

Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards

Community Support Team _ Ailsa Tao

Hi @Anonymous @Greg_Deckler 

 

My problem is not solved.

 

Let me explain it again

 

We have A3 Capacity in use. My workspaces are all on this Dedicated Capacity. We are using one Pro user (say abc@xyx.com) for Publishing all reports and same pro user is used in our embedded application used to show reports and everything is working fine. Same user is used for the Installation of Gateway at our Datawarehouse to refresh data in Power Bi dataset.

 

Recently we have added a functionality in our Application's report preview page to Export Report in PDF or PPT using REST API. When I login my application and view report (using default user abc@xyz.com) reports are viewed but when I try to Export them usinng REST API it shows following 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"

  }

}

Now I take another new Pro user (say 123@xyz.com) and add this user in our embedded application and add same use in all worskspaces as Admin reports starts exporting.

 

The difference berween my two users is when I check the availale features for abc@xyz.com it shows 100 but for new pro user 123@xyz.com it shows 0

 

My question is when I am on dedicated capacity then why REST API for export report into PDF or PPT is checking embedtrial usage?

 

Please help me

 

Regards

Rizwan

 

Anonymous
Not applicable

Hi @RizwanUddin 

As far as I remember the embed service is not included in the normal pro license. So I guess you used the trial license of embed that probably expired and the service stopped.

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.

https://docs.microsoft.com/en-us/rest/api/power-bi/available-features?redirectedfrom=MSDN

You can see official doc about the tokens through the link below .

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-faq#how-many-embed-tokens-can-...

Ailsamsft_0-1627976216706.png

Best Regards

Community Support Team _ Ailsa Tao

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

Greg_Deckler
Community Champion
Community Champion

@RizwanUddin Have you followed everything in that link?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler 

 

Which link you are talking about

 

Regards

Rizwan

Which link?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors