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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.