Forum Discussion
Error exporting report via API: ServerError_PremiumFilesErrors_OperationIsNotSupportedForPremiumFile
- 1 year ago
Hi. Make sure your workspace has dedicated capacity enabled. Then, take a look at exporting limitations in order to check if you are missing something for this file:
For example, a common issue is:
- Reports that are based on a semantic model enabled for large semantic model storage format cannot be downloaded using REST APIs. Use the Power BI Service to download these reports.
Otherwise you will need to downsize the size with good practices.
I hope that helps,
- 1 year ago
Hi luanlopes
The error you're encountering — ServerError_PremiumFilesErrors_OperationIsNotSupportedForPremiumFilesModel — typically occurs when attempting to export a Power BI report via the REST API that is based on a large semantic model published as a .pbip or Power BI file (PBIP) using the Power BI Service, particularly when the model exceeds a certain size threshold (like your 3GB model). These large datasets are handled differently under the hood, especially when they are stored using Premium Files, a newer storage format optimized for large models in Power BI Premium. Unfortunately, as of now, export operations using the Export API endpoint are not supported for models stored in Premium Files format, which is why you’re seeing this error. Even though your workspace is Premium-backed and other smaller reports export fine, this specific report likely triggers this limitation due to its size and storage format. Currently, Microsoft does not support exporting such large reports through this API method. As a workaround, consider reducing the model size or redesigning the report to use a smaller dataset if export functionality is essential. You can also monitor for updates to the Power BI API, as Microsoft may add support for Premium Files export in the future.
Hi luanlopes
The error you're encountering — ServerError_PremiumFilesErrors_OperationIsNotSupportedForPremiumFilesModel — typically occurs when attempting to export a Power BI report via the REST API that is based on a large semantic model published as a .pbip or Power BI file (PBIP) using the Power BI Service, particularly when the model exceeds a certain size threshold (like your 3GB model). These large datasets are handled differently under the hood, especially when they are stored using Premium Files, a newer storage format optimized for large models in Power BI Premium. Unfortunately, as of now, export operations using the Export API endpoint are not supported for models stored in Premium Files format, which is why you’re seeing this error. Even though your workspace is Premium-backed and other smaller reports export fine, this specific report likely triggers this limitation due to its size and storage format. Currently, Microsoft does not support exporting such large reports through this API method. As a workaround, consider reducing the model size or redesigning the report to use a smaller dataset if export functionality is essential. You can also monitor for updates to the Power BI API, as Microsoft may add support for Premium Files export in the future.
Hi Poojara, yes,
yes, I had to adjust my Power BI configuration to use small semantic models in order to export reports successfully. Thanks for your help!