Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

EMBED power bi report Publish to web public generates a wrong/Broken URL

EMBED power bi report Publish to web public generates a wrong/Broken URL

When pasting the URL/Browsing the site does not show the report??

Status: New
Comments
v-lili6-msft
Community Support

hi

When you create embed codes with Publish to web and paste into a website, you might not get the full URL using the share button on chromium based browsers.

 

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, 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=eyJrIjoiNzcxNTdlY2ItYjFhYS00YjkyLThkMmEtMTQwYjVlYzExNjA0IiwidCI6ImQyY...>

 

 

 

 

Regards,

Lin