Forum Discussion
himnshusolution
2 years agoFrequent Visitor
How to download Embedded power bi report in react using power bi apis
I have embedded power bi report in react, using there embeded services, now i want to that report in ppt or pdf formate through react, is it possible, where i make download button in react and onclic...
- Anonymous2 years ago
Hi Himanshu1710max ,
Could you please check the following info?
- If you are using the REST API exportToFile, it is not supported for Premium Per User (PPU).
- Ensure that the Power BI service principal or the user has the necessary permissions and that the access token is valid.
- Make sure the Power BI React component is correctly configured with the required properties such as embedUrl, accessToken, and tokenType:How to embed a Power BI item in a React app | Microsoft Learn
In addition, the following link is the thread which has the similar problem as yours. Hope it can help you.
Solved: API ExportTo method (preview) - "API is not access... - Microsoft Fabric Community
Sorted - was using the MyWorkspace version by mistake. Needed to use the "Export To File In Group" version.
Best Regards
Himanshu1710max
2 years agoNew Member
I used these exportToFile which is used to export to report in ppt,pdf,.
but when i applied these in react. then "Application is not accessable" is coming.
- Anonymous2 years agoNot applicable
Hi Himanshu1710max ,
Could you please check the following info?
- If you are using the REST API exportToFile, it is not supported for Premium Per User (PPU).
- Ensure that the Power BI service principal or the user has the necessary permissions and that the access token is valid.
- Make sure the Power BI React component is correctly configured with the required properties such as embedUrl, accessToken, and tokenType:How to embed a Power BI item in a React app | Microsoft Learn
In addition, the following link is the thread which has the similar problem as yours. Hope it can help you.
Solved: API ExportTo method (preview) - "API is not access... - Microsoft Fabric Community
Sorted - was using the MyWorkspace version by mistake. Needed to use the "Export To File In Group" version.
Best Regards