I got the Power BI Application ID and Secret and need to fetch the dashboards and embed them into my application. Please let me know how can I accomplish this. I studied and it seems that I should need embed token but I am not getting how can I get the embed
token from App ID and Secret. Any guidance would be great.
Edit: go one step at a time. All is there but you have many details to get right to make this work (in particular to register the app with the dedicated portal and to enable "Service Principals" on the PowerBI side.
Member
44 Points
145 Posts
Get Dashboards from POWERBI
Nov 09, 2019 07:59 AM|sukhdeep_kambo|LINK
Hi Folks,
I got the Power BI Application ID and Secret and need to fetch the dashboards and embed them into my application. Please let me know how can I accomplish this. I studied and it seems that I should need embed token but I am not getting how can I get the embed token from App ID and Secret. Any guidance would be great.
Thanks,
Sukhdeep
All-Star
48490 Points
18070 Posts
Re: Get Dashboards from POWERBI
Nov 09, 2019 12:21 PM|PatriceSc|LINK
Hi,
This is for 3rd party users? I used https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers and you can have a look at the code found at https://github.com/microsoft/PowerBI-Developer-Samples/blob/master/App%20Owns%20Data/PowerBIEmbedded_AppOwnsData/Services/EmbedService.cs
Edit: go one step at a time. All is there but you have many details to get right to make this work (in particular to register the app with the dedicated portal and to enable "Service Principals" on the PowerBI side.