Properties
configuration
The configuration prop is an object that contains the necessary properties for embedding the Power BI report.
Properties of configuration:
reportID(string) Optional: The unique identifier for the Power BI report. This ID is used to specify which report to embed.embedUrl(string): The URL used to embed the Power BI report. This URL is typically provided by the Power BI service.accessToken(string) Optional: The access token required to authenticate the embed request. This token must be generated and provided securely to allow embedding.
More information
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-client-react https://github.com/microsoft/PowerBI-client-react#demoExample Usage
Here is an example of how to use thePowerBi component: