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

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.

Reply
BastiaanBrak
Helper IV
Helper IV

Secure embed code query string change?

Hi, I've created 'Secure embed codes' for quite a while but - until today - the format of these codes never contained the query string parameters: reportId, autoAuth and ctid.

An example report for which I created a secure embed code without these query string parameters earlier today is here:
https://app.powerbi.com/view?r=eyJrIjoiYjg0OTFkYjgtYmU4YS00MzNhLThlZTctN2ViY2U0NTllMDM4IiwidCI6ImExM...

However, just in the last hour PowerBI Service generated a different type of secure embed code for exactly the same report (after I had to make some changes in Service due to some applied colour changes not coming through in Service).
https://app.powerbi.com/reportEmbed?reportId=3729aef8-b59b-4fc0-945b-b28a4776fbef&autoAuth=true&ctid...

There are some subtle differences, in particular: 

  • named tabs instead of '1 of 3 >'
  • absence of sharing button and Enter Full screen mode arrows in bottom right hand corner

    "Old" secure embed code"Old" secure embed codeSecureEmbedCode2.PNG

I've tried to find out more about secure embed codes and from what I'm reading it appears the latter type is standard.
Can anyone explain the difference in both secure embed codes and why I've only ever been able to create the former type of embed code? 

Thanks, Bastiaan


1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

The differences you are talking about above is between a Publish to Web URL and a Secure Embed URL

This can be seen by your screenshots.

The first example you provided is the Publish to Web embed code.

The second example is the Secure Embed URL

And that is why they look and work differently.

https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
GilbertQ
Super User
Super User

Hi there

The differences you are talking about above is between a Publish to Web URL and a Secure Embed URL

This can be seen by your screenshots.

The first example you provided is the Publish to Web embed code.

The second example is the Secure Embed URL

And that is why they look and work differently.

https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks @GilbertQ , just read up on the difference, that make sense now.


https://powerbi.microsoft.com/en-us/blog/easily-embed-secure-power-bi-reports-in-your-internal-porta...

 

I'm just at a loss because the 'Publish to Web' option wasn't available from File earlier, which is how I (unwittingly) ended up creating the Secure embed code but now it's back again. 🤔

 

Publish-to-Web.PNG

Hi there

It could potentially be if your Power BI Admin disabled this option (Which they can from the tenant settings)




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors