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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Connexion
New Member

Getting error on report export: Export report requires effective identity to be provided

Hi, PowerBI community!

 

We are trying to export an embedded PowerBI report but we are getting the following error:

 

--- error message ---
400 Bad Request:
Export report requires effective identity to be provided for the report's dataset
--- error message ---

 

This is our scenario:

  • We have a power-bi app set up in our portal.azure.com.
  • That app has a correspondent workspace set up in app.powerbi.com.
  • We are using the "Reports - Export To File In Group" API endpoint in order to export the report.
  • We can export other reports that have their datasets created in the same SQL Server as the power-bi app. But the dataset for the report we can't print has been created in a different SQL Server (will this be an issue?).
  • We can use the Bearer Token created for our app to export the reports that have their datasets in the same SQL Server as our app, but when we try to use that same Bearer Token for exporting the report in the other SQL Server, the aforementioned error message is displayed.
  • If we use the Bearer Token of the main MS Azure account (the admin-like account that can create power-bi apps), we can successfully export the report that was previously failing. But, I think we shouldn't be using this token, because it's the one that has "admin privileges", as I understand it.

So the question would be:

  • What do we need to do in order to use our power-bi app-related token in order to export the report that is failing? Should we modify the token, or should we set up an effective identity in the problematic dataset?

 

We appreciate any help we can get.
Thanks!

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @Connexion ,

 

Please check if your report's dataset has RLS applied.

If so, you must provide an effective identity for that dataset in the export request.

vjianbolimsft_0-1683183727155.png

For more details, please refer to:

Security in Power BI embedded analytics - Power BI | Microsoft Learn 

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.