Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Dear Community,
I am trying to use the ExportFileInGroup API to export my PowerBI Report. So, I am using the "Try It" option for testing the API call.
So, I am using the following 2 API calls.
API CALLS:
1. POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}/ExportTo
Result:
{
"@odata.context": "http://"region"/v1.0/myorg/groups/"grpID"/$metadata#exports/$entity",
"id": "ID",
"createdDateTime": "2023-02-07T07:27:57.0539042Z",
"lastActionDateTime": "2023-02-07T07:27:57.0539042Z",
"reportId": "ReportID",
"status": "NotStarted",
"percentComplete": 0,
"expirationTime": "0001-01-01T00:00:00Z"
}
2. For checking whether the report export is succeeded,
GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/exports/{exportId}
Result:
{
"@odata.context": "http://"REGION"/v1.0/myorg/$metadata#exports/$entity",
"id": "ExportID",
"createdDateTime": "2023-02-07T07:27:57.0539042Z",
"lastActionDateTime": "2023-02-07T07:28:17.5714933Z",
"reportId": "ReportID",
"reportName": "ReportName",
"status": "Succeeded",
"percentComplete": 100,
"resourceLocation": "https://api.powerbi.com/v1.0/myorg/reports/"ReportID"/exports/"ExportID"/file",
"resourceFileExtension": ".pdf",
"expirationTime": "2023-02-08T07:27:57.3193533Z"
}But i am not sure where my downloaded report resides.
Can't i use the API calls and download the report into my local "Downloads" Folder?
If Yes, Please guide on the process
Thanks, Surya
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.