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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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