Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
what licence required to call the following report export api
POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo
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:
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
Happy to help!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.