Forum Discussion
code for generating and embed an access token from Power BI embedded for React.js Website
Hello,
I have a web application created in React. Js.
I want to embed multiple Power BI reports in my website but unfortunately not finding a way to write a code in React.js for generation of access token. I went through multiple docs but could not find suitable solution. It would be great if someone helps and shed light on this topic.
2 Replies
- TomMartensSuper User
Hey Anonymous ,
I'm wondering if you are aware of this article: Announcing React Power BI | Microsoft Power BI Blog | Microsoft Power BI
Regards,
Tom
- amitchandakSuper User
Anonymous , refer if these can help
https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken
https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken/generatetoken
https://docs.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token
https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token