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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gotters
Resolver I
Resolver I

Export Report pbix via API - after XMLA

We deploy reports through our client workspaces via the REST API and semantic models via Tabular Editor and the XMLA endpoint.

 

We need to provide the ability for our users who view the embedded reports through our own portal to download the pbix files for the reports.

Currently if we navigate to the report in PBI Service the report can be downloaded with a live connection.

As a result I would expect the REST API to export report also be available. However when calling it against the report I get the response below.
The docs don't mention a limitation of downloading a pbix via API just because it was created by xmla endpoint (ie the semantic model). The only mentioned limitation is 
"For .pbix reports, exporting a report with a Power BI service live connection isn't supported after calling Rebind Report."
Is there something I am missing that I can do to make this download available via PBI?
If its simply not supported do we know if MS are going to make it available?
If the answers to the above are all no - is there any other way I can keep the user in our portal with an embedded report and somehow deliver a pbix file to them?  (I assume there is no way for the embedded report to include a download file option).

Thanks

 

{
    "error": {
        "code": "ExportData_DisabledForModelModifiedByXmlaEndpoint",
        "pbi.error": {
            "code": "ExportData_DisabledForModelModifiedByXmlaEndpoint",
            "parameters": {},
            "details": [],
            "exceptionCulprit": 1
        }
    }
}

 

 

3 REPLIES 3
lbendlin
Super User
Super User

You may want to start working on your plan B...

 

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com/?forum=2d80fd4a-16cb-4189-896b-e0dac5e08b41

So no plan to support this in the near future, even with upcoming Fabric changes? if its available via the UI in PBI service why couldnt it be made available via the REST API?

Only if enough users vote for it.

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.

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.