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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ThomasBFuzeo
New Member

Export to PDF API : FeatureNotAvailableError

Hi,

I am trying to export report as PDF via API but i got the 404 response : FeatureNotAvailableError

 

- The workspace is under licence premium PPU

- my account is under licence premium PPU

- I have checked global config, download as pdf is authorized
- I can download the report as pdf by power bi service

 

I am running out of idea, if some people know something that I forget !

Thanks for your help

1 ACCEPTED SOLUTION

@ThomasBFuzeo 

Did you read this article: Export Power BI embedded analytics reports API - Power BI | Microsoft Learn

It mentions:

  • The report you're exporting must reside in a workspace backed by a Premium, Embedded, or Fabric capacity.
  • The exportToFile API, is not supported for Premium Per User (PPU).
 

View solution in original post

11 REPLIES 11
v-sdhruv
Community Support
Community Support

Hi @ThomasBFuzeo ,

Please consider raising a support ticket if the issue still persists.
To raise a suppot for Fabric and Power BI, kindly follow the steps outlined in the following guide:

How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn


Thank you for reaching out.

v-sdhruv
Community Support
Community Support

Hi @ThomasBFuzeo ,
I hope the explainations provided above were able to address your queries.
If it has answered your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank You

v-sdhruv
Community Support
Community Support

Hi @ThomasBFuzeo ,
I hope the explainations provided above were able to address your queries.
If it has answered your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank You

v-sdhruv
Community Support
Community Support

Hi @ThomasBFuzeo ,
I hope the explainations provided above were able to address your queries.
Please feel free to reach out in case of any further clarification.
Regards,
Shruti

ThomasBFuzeo
New Member

I have created a empty report when i just have imported some excel data to show, I do not use embedded report, but workspace in power bi service with premium per user plan.

The manual export works normaly by the interface.

I have checked all the doc linked and stil blocked. 
I have checked my tenant setting by power shell, query looking for the tenant settings "export to file for report" but i can not find it.

@ThomasBFuzeo 

Did you read this article: Export Power BI embedded analytics reports API - Power BI | Microsoft Learn

It mentions:

  • The report you're exporting must reside in a workspace backed by a Premium, Embedded, or Fabric capacity.
  • The exportToFile API, is not supported for Premium Per User (PPU).
 

Like I said i am not using the embedded part, but Power bi service.
In this documentation : https://learn.microsoft.com/fr-fr/rest/api/power-bi/reports/export-to-file-in-group and this one https://learn.microsoft.com/fr-fr/power-bi/developer/embedded/export-to#considerations-and-limitatio... they mention all the limitation, but they are not talking about premium-per-user can not export

The API documentation you are referencing is referring you to the limitations in that article:

AmosHersch_0-1743582377015.png


Those limitation say that the API is not supported for reports on a Prmeium Per User capacity. It doesn't matter if the report is embedded or not. Unfortunately it's a limitation for the API - the report must be in a workspace which is on a dedicated capacity.

Yes i have use the api to check the capacity of my groups and i get dedicatedCapacity: true

{
    "isReadOnly": false,
    "isOnDedicatedCapacity": true,
    "capacityId": "334CD63F-1C0A-4DBE-8F08-45D4994D973B",
    "defaultDatasetStorageFormat": "Small",
    "type": "Workspace",
    "id": "xxx",
    "name": "TEST"
}

I don't know if isOnDedicatedCapacity returns "true" for Premium Per User (PPU).
But as the limitation says, if it's indeed a PPU capacity like you've said then this is the reason you get the error.

v-veshwara-msft
Community Support
Community Support

Hi @ThomasBFuzeo ,

This can be due to multiple reasons-

1.Power BI APIs have rate limits for the number of requests per minute or hour. If you're hitting these limits, you might get a 404 response or other errors. If you're making a lot of requests in a short time, this might explain the problem.

 

2.Exported reports can't exceed a file size of 250 MB.

 

3.All related semantic models in the report you're exporting must reside on a Premium or Embedded capacity, including semantic models with a Direct Query connection.

 

If the reasons stated above doesn't solve your problem, you can refer this documentation for performing some checks and understanding the limitations.

 

https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-to?source=recommendations

https://learn.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report#considerations...

 

Hope this helps!

 

If this post helps, then please consider 'Accepting it as the solution' to help the other members find it more quickly and a kudos would be appreciated.

 

Thank you.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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