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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
spaceship
Regular Visitor

PBI Secure Embed - Avoiding "sign on" with AAD

Hi,

 

If users are authenticating with AAD when first loggin, is there a script I can add to a html page to request a pbi authentication token so users don't have to click through the iframe / "sign in" pages ?

 

I tried embedding the iframe using the sharepoint link on a html page and the iframe just stayed in a loading phase. 

 

Thank you.

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @spaceship,

Based on my research, I am afraid you have to sign in, you could refer to the limitation in below blog:

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

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
halverny__
New Member

Hey Guys, I'd like to solve this problem, someone can help me with this?

 

-> avoid sing in prompt in powerapps embeded in powerbi embeded

 

Regards,

Halverny 

v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @spaceship ,


Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @spaceship,

Based on my research, I am afraid you have to sign in, you could refer to the limitation in below blog:

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

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The secure embed feature is meant for the no-code/low-code scenario. So you will see a sign-in prompt if the user doesn't already have an AAD token in their browser cache that is for Power BI.

If you are a developer (and it appears you are), you can avoid the sign-in prompt by using our APIs to embed in your application.

Here's how:
https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-your-organization#get-an-access...
Anonymous
Not applicable

Thank you for the reply. 

 

I gave it a shot and no luck, I understand the use of this with PBI Embedded.

 

But my issue is for "PBI Secure Embed" and the sign in page the populates the iframe. Users then need to click sign in to be redirected to PBI. Click "sign in" on pbi's site only to be redirected by to our page where the iframe sits. All without having to enter credentials becase our site uses authenticates w/ AAD. Which is what i'm trying to avoid. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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