问题
I am new to power bi. I have power bi account there I created some dashboards with some reports, now I want to consume those dashboard and report using power bi rest API (https://docs.microsoft.com/en-us/rest/api/power-bi/)in our own application. Our application we used the .net core for back-end and angular 6 for the front end. We need to call power bi API from the .net core. If I change report in power it should also reflect in our application. I am new so I am not understanding from where to start?
回答1:
Start by reading these:
- Embedding with Power BI
- Tutorial: Embed a Power BI report, dashboard, or tile into an application for your customers
- Microsoft Power BI Embedded Playground
In essence, you need to authenticate using Azure Active Directory Authentication Libraries (ADAL), obtain the embedUrl of the dashboard, it's id and the id of the group in which it is. It will be loaded in a div section of a html file using the embedded client. For more details look at the official samples. App Owns Data
means that for authenticating you are using one account, which your application knows (e.g. user name and password stored in the configuration), while User Owns Data
means that each user uses his own Power BI credentials to access the embedded elements.
来源:https://stackoverflow.com/questions/53532616/how-to-get-power-bi-dashboard-in-our-own-application