Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I use get method : PowerBIReports( ID)/Content/$value of report server, the output is a a binary file. how can I process this content am embed it into my application?
the header of out put is look like this:
| Cache-Control: | no-cache |
| Content-Length: | 24 kilobytes |
| Content-Type: | application/octet-stream |
| Server: | Microsoft-HTTPAPI/2.0 |
| X-Content-Type-Options: | nosniff |
| Set-Cookie: | XSRF-NONCE=53 B, session, HttpOnly /reports |
| Set-Cookie: | XSRF-TOKEN=11 B, session /reports |
| Content-Disposition: | attachment; filename=test.pbix |
| Date: | Tue, 05 Dec 2017 09:26:14 GMT-1s |
Solved! Go to Solution.
The API your using above is more equivalent to the ExportReport API in PowerBI as it will only download the PBIX file. We do support embedding the report as mentioned in the other reply but we don't currently have a javascript API to interacte with the embedded report, however it is something on our backlog. If you want to request the capability/feature you can post you idea here.
Hi @pooneh_ce,
To embed a power bi report from report server in a application, see: https://docs.microsoft.com/en-us/power-bi/report-server/quickstart-embed
Best Regards,
Qiuyun Yu
@v-qiuyu-msft Thanks for your reply, but I don't want to use an iframe and access url, I want do the same thing that exists for power bi on cloud( sample link: https://docs.microsoft.com/en-us/power-bi/developer/integrate-report ). I think the new rest APIs for power bi report server have the same functionality, It is true or not?
I tried to ask this question multiple times in this forum but I didn't get my answer till now.
I had read all documetation about new version of power bi report server and I found solutions like the one you mentioned, but my requirement is some thing else, I need to use rest APIs.
The API your using above is more equivalent to the ExportReport API in PowerBI as it will only download the PBIX file. We do support embedding the report as mentioned in the other reply but we don't currently have a javascript API to interacte with the embedded report, however it is something on our backlog. If you want to request the capability/feature you can post you idea here.
@mgmeyer, thnks for your reply. What about .net sdk(https://github.com/Microsoft/PowerBI-CSharp/blob/master/README.md), can it help for powerbi report server?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 7 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |