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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors