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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.