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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
AnonDev
New Member

Export Embedded Power BI Report

Hi, 

 

I'm currently tasked with exporting Power Bi Reports in an Angular/.Net Embedding Application with the newly released functionality as seen here: https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#step-3---getting-the-file.

 

I'm using the snippets they provided here but I'm getting no Export Id when running this line: 

 var export = await client.Reports.ExportToFileInGroupAsync(workspaceid, reportid, exportRequest); 
 
Is groupId different from workspaceid? Any other ideas on why this is not working? With no workspaceId the polling doesn't work which means the export doesn't work.
 
Thanks for the help.
 
4 REPLIES 4
Anonymous
Not applicable

Hi @AnonDev 

Group Id is the Workspace Id.
One restriction is that you have to be running in a premium capacity. Other limitations are detailed in this blog post > https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#limitations

I am just getting started with this API myself, but haven't hit this issue (yet). I am assuming that other calls you are making to the API are functioning,,, so it isn't a permission thing?

Hi @Anonymous 

 

Thanks for the reply. I'll double check with the premium capacity. Other work I've done on this is just collecting Embed information and I haven't run into permissions issues there. If you do get it working, would it be possible to share the differences with the given snippet from Microsoft? 

Anonymous
Not applicable

Of course. I will try and spend some more time on this later and share what I find.
Cheers, Matt

Anonymous
Not applicable

hi @Anonymous and @AnonDev ,

 

Just want to check if you guys have found solution for this ?

 

I am facing a similar issue with the async call client.Reports.ExportToFileInGroupAsync using the service principal.

During the debug session, my Visual Studio kept waiting for the response. 

 

Thanks

Doan

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors