While PowerBI embedded allows for multi-tenant solutions, it doesn't include many of the report management features (e.g. report permissions, subscriptions) that PowerBI does.
We're wrapping our own management features around PowerBI Embedded but to do so, we need the report id of reports created within the Embedded interface.
Currently, there are no events on the javascript side that will notify us of a report being created/saved.
- Comments (2)
RE: [PowerBI Embedded] Get the reportid of a newly created report.
Hi,
In C# using the Power BI SDK, I would do a while-loop. In each iteration, call:
var reports = await client.Reports.GetReportsInGroupAsync(myAppWorkspacePowerBIId);
Then search the reports returned to find a matching one with the new report Name. If it's not there, loop again.
Or in Javascript / Typescript on the front-end, make requests to the Power BI REST API to do something similar, ie.
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/getreportsingroup
RE: [PowerBI Embedded] Get the reportid of a newly created report.
1.open https://app.powerbi.com/
2.select you workspace and reports
3.get url from browser url
sample:
https://app.powerbi.com/groups/XXXX-XXXX-XXXX/reports/YYYY-YYYY-YYY/ReportSection
groupID = XXXX-XXXX-XXXX
reportID = YYYY-YYYY-YYY