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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
MangeshVC
Frequent Visitor

Single Sign on for Power BI Report to access through .Net Portal.

Hi All.

     We have used the Embed URL of the Power BI Report and then used it at .Net Portal (Developed by the .Net team) to access the Power BI Reports. 

Once user login to the .Net system, it will click on the respective tile to open the Power BI Report. As user open the report it asks for the Power BI Credentials to sign in.

Is it possible to bypass the Power BI Login & access the Power BI Reports with only .Net login?

 

2 ACCEPTED SOLUTIONS
ibarrau
Super User
Super User

Hi. Yes it is, but it's a lot more work for developers. You can embed using microsoft credentials with just one link or you can work with Embedding Power Bi Analytics that involves deeper sdk or api skills for maniging the access token, embed token and then javascript. Instead of embedding a link in secure portal you would be checking playground like: https://playground.powerbi.com/en-us/embedded-demo

Embedding the link the way you do, microsoft owns the login and check users with its permission for rendering the report. The other way you are responsable for login or making sure the logged user should or shouldn't see that report the way its shown.

You can read more about that here: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embedded-analytics-power-bi#embed-for-...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

v-saisrao-msft
Community Support
Community Support

Hi @MangeshVC,

Thank you for reaching out to the Microsoft Fabric Forum Community. 

 

@ibarrau, has provided a helpful overview, and they are correct that achieving Single Sign-On (SSO) for Power BI embedding requires more development effort compared to using a direct embed URL. If you'd like to bypass the Power BI login after users sign in to your .NET portal, a more seamless approach is to use Power BI Embed for Your Organization with Azure AD Authentication. 

  • Register Your App in Azure AD – Set up an app registration in the same Azure AD tenant as Power BI, granting permissions like `Report.Read.All`.  
  • Authenticate Users – Use Azure AD to acquire an access token with libraries like MSAL or Microsoft.Identity.Web in your .NET code.
  • Embed the Report – Use the Power BI JavaScript API to display the report, passing the access token directly—no extra login required. 

For more information, please refer to below: 

Embed Power BI content in an embedded analytics application with service principal and an applicatio... 

Embed Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn 

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you.

View solution in original post

2 REPLIES 2
v-saisrao-msft
Community Support
Community Support

Hi @MangeshVC,

Thank you for reaching out to the Microsoft Fabric Forum Community. 

 

@ibarrau, has provided a helpful overview, and they are correct that achieving Single Sign-On (SSO) for Power BI embedding requires more development effort compared to using a direct embed URL. If you'd like to bypass the Power BI login after users sign in to your .NET portal, a more seamless approach is to use Power BI Embed for Your Organization with Azure AD Authentication. 

  • Register Your App in Azure AD – Set up an app registration in the same Azure AD tenant as Power BI, granting permissions like `Report.Read.All`.  
  • Authenticate Users – Use Azure AD to acquire an access token with libraries like MSAL or Microsoft.Identity.Web in your .NET code.
  • Embed the Report – Use the Power BI JavaScript API to display the report, passing the access token directly—no extra login required. 

For more information, please refer to below: 

Embed Power BI content in an embedded analytics application with service principal and an applicatio... 

Embed Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn 

 

If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you.

ibarrau
Super User
Super User

Hi. Yes it is, but it's a lot more work for developers. You can embed using microsoft credentials with just one link or you can work with Embedding Power Bi Analytics that involves deeper sdk or api skills for maniging the access token, embed token and then javascript. Instead of embedding a link in secure portal you would be checking playground like: https://playground.powerbi.com/en-us/embedded-demo

Embedding the link the way you do, microsoft owns the login and check users with its permission for rendering the report. The other way you are responsable for login or making sure the logged user should or shouldn't see that report the way its shown.

You can read more about that here: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embedded-analytics-power-bi#embed-for-...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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