March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi!
Our iframed Pbix-reports stopped working after upgrading to Power BI Report Server jan 2020.
After upgrading the iframe command no longer accept "rs:embed:true" when linking to a report.
If I change to rs:embed=false the report shows up again.
Content editor Web Part:
<iframe width="1320" height="770" src="http://server/reports/reportname?rs:embed=true"></iframe>
Anyone experiencing the same issue after upgrading to PBI RS jan 2020?
Solved! Go to Solution.
The CustomHeaders property on the advanced settings of the report server defaults to:
<CustomHeaders>
<Header>
<Name>X-Frame-Options</Name>
<Pattern>(.+)((\/api)|(\/(mobilereport|report|powerbi|excel|pages)\/(.+)(rs:embed=true|rc:toolbar=false)))</Pattern>
<Value>SAMEORIGIN</Value>
</Header>
</CustomHeaders>
I changed it to:
<CustomHeaders><Header><Name>Embed</Name><Pattern>(.+)(/reports/)(.+)(rs:embed=true)</Pattern><Value>True</Value></Header></CustomHeaders>
Embedded reports are working now.
Connect to the report server via SSMS, right click on the server and server properties. Click on the Advanced option.
The CustomHeaders property on the advanced settings of the report server defaults to:
<CustomHeaders>
<Header>
<Name>X-Frame-Options</Name>
<Pattern>(.+)((\/api)|(\/(mobilereport|report|powerbi|excel|pages)\/(.+)(rs:embed=true|rc:toolbar=false)))</Pattern>
<Value>SAMEORIGIN</Value>
</Header>
</CustomHeaders>
I changed it to:
<CustomHeaders><Header><Name>Embed</Name><Pattern>(.+)(/reports/)(.+)(rs:embed=true)</Pattern><Value>True</Value></Header></CustomHeaders>
Embedded reports are working now.
Connect to the report server via SSMS, right click on the server and server properties. Click on the Advanced option.
Awesome, thank you @lestagek !
A heads up from MS would have been nice.
Thank you for all the input in this tread
Regards Andreas
Same problem for me, and same solution. MS dropped the ball on this one. A simple heads up would have saved me 3 hours yesterday.
Hello all.
Made this change on my report server and now i get 503 error, service unavailablem and can´t connect via ssms to the reporting server instance to correct. Any help is appreciated, as i´m looking at rebuilding the server...
Regards,
Manuel Pereira
@andlin11 wrote:
Hi Manuel,
The ssrs service restarts after changing the property. Is your service up and running?
It was. I tried restarting the services, restarting the server, repairing the Report Server installation, checking .config files, what have you. Lost connection to the report server database entirely. Ended up having to create a new report server database, reload all reports, rebuild folder structure, reconfigure security and automatic refresh rules.
So yeah, a fun morning...
Microsoft just released an update that may fix this issue along with a few others
See here for the change log https://docs.microsoft.com/en-us/power-bi/report-server/changelog
And you can download the update from here https://aka.ms/pbireportserver
My Dude... Thanks for the tip. Applied the update and we're good! 😎
😍😘💋🍆
Never mind my last post (deleted) I was pointing to production server (sep 2019)...
Thanks for the solution @lestagek worked like a charm!
Would have been nice if MS mentioned it explicitly in the release notes.
Regards Taico
Yes! This is the solution.
You have to change the settings on the custom headers.
More info here: https://docs.microsoft.com/en-us/sql/reporting-services/tools/server-properties-advanced-page-report...
@lestagek Thanks!
Thanks for your support, unfortunatley I am missing the option in my advanced settings of the report server...
Any clue on that?
Thank you!
Andreas
I got it - its within the reporting services properties. Thank you. PRoblem is solved.
Hello all,
same here, we used some Iframes within our Intranet (Confluence), all of them are not longer working now.
Is MS working on that or is this no longer supported?
BR
Andreas
I have the same issue. The problem seems to be with the embed function and the iframe.
PS: Looking the issue we are having the error Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'. This should not happen because we are sending ?rs:embed=true at the end of the URL so the report is embebed. Something changed in the last update. =(
Hi @andlin11
I have the same issue with iframe when using "rs:embed:true". Also on SharePoint 2013.
Regards Taico
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
5 | |
4 | |
4 | |
3 | |
2 |