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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sv-ops
New Member

Reports - Export To File

what licence required to call the following report export api

 

POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo

 

currently have premium licence, but getting error
{
    "error": {
        "code""",
        "message""No HTTP resource was found that matches the request URI 'http://wabi-us-central-b-primary-redirect.analysis.windows.net/v1.0/myorg/groups/[groupid]/reports/[...'."
    }
}
1 REPLY 1
ibarrau
Super User
Super User

Hi. The error specifies that there might be an issue in how you have prepared the request. Can you show us your URL and body of the post request? that might help us help you.

You don't need an specific licence for this (only PPU is not supporting this request). You just need an App Registration in Azure with the following delegated permission:

  • Report.ReadWrite.All or Report.Read.All
  • Dataset.ReadWrite.All or Dataset.Read.All

One more thing. That request is for datasets inside "My Workspace". If you want to export something from a collaborative workspace this is the correct request: https://docs.microsoft.com/en-us/rest/api/power-bi/reports/export-to-file-in-group

That one will ask for the group id (workspace).

I hope that helps


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.