Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Issue Description:
When you create embed codes with Publish to web and paste into a website, you may not get the full URL using the share button on chromium based browsers.
Environment:
Power BI Service version 13.0.15639.18
Repro Steps:
For example, when embedding into a web page https://www.contoso.com/example.html,
the Share Url is displayed as https://www.contoso.com/ rather than the full URL.
You may test it by opening link https://community.powerbi.com/t5/Data-Stories-Gallery/COVID-19-NSW-Transport-Impact/td-p/1193474.
Workaround:
Since this is caused by the updated default referrer policy of third party design change (chromium based browsers), the workaround here is to use 'no-referrer-when-downgrade' policy in your report embed HTML. So that it will override browser's default referrer policy.
<iframe width="800" height="600" frameborder="0" referrerpolicy="no-referrer-when-downgrade" src="https://app.powerbi.com/view?r=eyJrIjoiNzcxNTdlY2ItYjFhYS00YjkyLThkMmEtMTQwYjVlYzExNjA0IiwidCI6ImQyYWY4YjViLTlhN2UtNGM4NS1hM2ZkLWI2OWE2Njk4YjdkNiJ9"></iframe >
Author: Sam Zha
Reviewer: Zoey Huan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.