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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
LeonardoAlSilva
Advocate I
Advocate I

is there a way to not need to authenticate when using iframe?

Hi Community,

 

I am trying to embed my report with Iframe.

After I made html file with Iframe that was gained from Power BI service, I could open the report with html file.

However, whenever open the web page, it requires sign in again, so is there any way to fix static id / password, or skip to sign in page when I open the report with html file?

I wanted to be able to display the iframe without having to authenticate every time.



LeonardoAlSilva_0-1750870438036.png

 

1 ACCEPTED SOLUTION
v-agajavelly
Community Support
Community Support

Hi @LeonardoAlSilva 

 

Totally get the issue, having to sign in every time you open a Power BI report via an <iframe> can be a pain, especially if you're trying to create experience for your users.

Here’s the deal, y its ask about sign-in. The <iframe> link you get from Power BI Service is meant for internal use it’s called “Embed for your organization.” That means it will always ask users to authenticate with their Microsoft account. There’s no way to “fix” a static ID/password or bypass that login screen with this method.

If you want to embed a Power BI report without requiring sign-in, you’ll need to use the “Embed for your customers” method. This is a secure and flexible way to show reports to users without asking them to log in.

Here’s how it works,

  1. You register an app in Azure AD.
  2. You authenticate using a service principal or a Power BI Pro user.
  3. You generate an embed token using Power BI REST API.
  4. You embed the report using JavaScript (not just a plain <iframe>).
  5. Your users see the report—no login required!

This method is perfect for public websites or apps where you don’t want users to deal with Microsoft sign-in screens.

For more details, check out Microsoft’s official guide here  Embed for your customers (App owns data) .
_________________________________________________________________________________________________________________________
If this response helps, consider marking it as “Accept as solution” and giving a “kudos” to assist other community members.

Thank you,
Akhil.



View solution in original post

2 REPLIES 2
v-agajavelly
Community Support
Community Support

Hi @LeonardoAlSilva 

 

Totally get the issue, having to sign in every time you open a Power BI report via an <iframe> can be a pain, especially if you're trying to create experience for your users.

Here’s the deal, y its ask about sign-in. The <iframe> link you get from Power BI Service is meant for internal use it’s called “Embed for your organization.” That means it will always ask users to authenticate with their Microsoft account. There’s no way to “fix” a static ID/password or bypass that login screen with this method.

If you want to embed a Power BI report without requiring sign-in, you’ll need to use the “Embed for your customers” method. This is a secure and flexible way to show reports to users without asking them to log in.

Here’s how it works,

  1. You register an app in Azure AD.
  2. You authenticate using a service principal or a Power BI Pro user.
  3. You generate an embed token using Power BI REST API.
  4. You embed the report using JavaScript (not just a plain <iframe>).
  5. Your users see the report—no login required!

This method is perfect for public websites or apps where you don’t want users to deal with Microsoft sign-in screens.

For more details, check out Microsoft’s official guide here  Embed for your customers (App owns data) .
_________________________________________________________________________________________________________________________
If this response helps, consider marking it as “Accept as solution” and giving a “kudos” to assist other community members.

Thank you,
Akhil.



Awesome @v-agajavelly , this will help me a lot! Thank you!! 🤜🤛

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.