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
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
Employee
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
Employee
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
Employee
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
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