Forum Discussion
Power BI Embedded registers blocked unload handler in Microsoft Edge
We embed Power BI reports in an ASP.NET Core Blazor Server application. Microsoft Edge 152 logs this warning whenever an embedded report is loaded:
[Violation] Permissions policy violation: unload is not allowed in this document.
The report itself renders correctly. The warning originates in the Power BI hosted reportembed script, not in our application code. We tested the available Permissions-Policy header and iframe allow configurations. The embedded Power BI frame remains unable to use unload in every case.
Is this expected during the Chromium unload deprecation rollout? If so, is there a planned change to replace the unload listener with a supported page lifecycle event?
Environment: Microsoft Edge 152.0.4191.66, ASP.NET Core Blazor Server, Microsoft.PowerBI.JavaScript.