Forum Discussion

cristiana777's avatar
cristiana777
New Member
1 year ago
Solved

Export underlaying data from visual using the Power BI embedded API

Hi all,   I have a power BI report embedded in a React application. The emedding  solution used is: embed for your organization (user owns data).  I need to be able to export the underlying data fr...
  • v-prasare's avatar
    1 year ago

    Hi cristiana777,

    Thanks for reaching MS Fabric community support

     

    Yes, exporting underlying data from a visual using the Power BI JavaScript API is supported in embed-for-your-organization scenarios. However, we’ve observed that the export may fail in some cases — even if the same export works through the UI.

    This usually happens due to stricter checks enforced by the API. To ensure successful export of underlying data programmatically, please make sure:

    • The user has Build permissions on the dataset.

    • The visual actually supports underlying data export.

    • No Row-Level Security (RLS) or sensitivity labels block the export.

    If you’re using an AAD token, we recommend testing the same flow using an embed token with Tokentype.Embeded and setting up the required effectiveIdentity to ensure the dataset access aligns correctly.

    Let us know if you’d like help adjusting the embed configuration to test this.

     

     

     

    Thanks,

    Prashanth Are