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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have my ASP.NET Core project with an embedded PowerBI report. The report is always shown correct. In the Microsoft documentation, I read that now it is possible to export the report in different format. So, using the example, I put together the application. You have the code in GitHub.
The problem I'm facing is when I call
// The 'Client' object is an instance of the Power BI .NET SDK
var export = await Client.Reports.ExportToFileInGroupAsync(
groupId, reportId, exportRequest);
This call raises an Operation returned an invalid status code 'Forbidden'.
In the Active Directory I have all the required permissions and in particular
Also, I tried to use "Try it" in the documentation. In this case, I have another kind of error
{
"error": {
"code": "InvalidRequest",
"message": "Report requested for export is not on dedicated capacity"
}
}
How can I fix this issue?
HI @Anonymous,
Perhaps you can take a look at the following link about this similar issue if those suggestions suitable for your scenario:
Solved: REST API for Power BI, Reports - Export To File gi... - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |