cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft

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
Microsoft

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
Microsoft

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors