Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
We are using Power BI Desktop for Report Server (January 2020) and Report Server Optimized for Power BI (January 2020).
We are trying to utilize Nuget to embed a report.
https://github.com/Microsoft/PowerBI-CSharp#aspnet-mvc
In doing so we are attempting to use the PowerBI.CreateReportEmbedToken method:
var embedToken = PowerBIToken.CreateReportEmbedToken(workspaceCollection, workspaceId, reportId);
Where do I find the values for:
workspaceCollection?
workspaceId?
reportId?
Solved! Go to Solution.
That nuget and those APIs are for the cloud version of Power BI the don't apply to PBIRS. If you are embedding something locally in an intranet based site I think you would just IFrame in the report. The following example is for embedding in sharepoint, but the same technique should work for other types of sites https://docs.microsoft.com/en-us/power-bi/report-server/quickstart-embed I used a technique like this to embed a report in a tab in MS Teams.
That nuget and those APIs are for the cloud version of Power BI the don't apply to PBIRS. If you are embedding something locally in an intranet based site I think you would just IFrame in the report. The following example is for embedding in sharepoint, but the same technique should work for other types of sites https://docs.microsoft.com/en-us/power-bi/report-server/quickstart-embed I used a technique like this to embed a report in a tab in MS Teams.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |