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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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