web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Security
Suggested answer

Power Pages - link and open Power BI with credentials

(2) ShareShare
ReportReport
Posted on by
Hi,  
 
Our developer is struggling with SSO after setting up Power Pages to display an embedded Power BI dashboard and then to navigate from the Dashboard Via a button URL to the Power BI Service and the dashboards within the app created there.
 
Sign in has been enabled into Power Pages, which then shows the Power Page and the embedded landing page dashboard whish contains navigation buttons to the dashboards in the app. The developer has also created selections button on the page as an alternative.
 
When selecting a button either within the landing page dashboard or within the Power Page the user is promoted to enter there credentials again, once done app.powerbi.com opens and they can then see the content they are authorised to see within another browser tab. Should they then select another button from the Power Page they are then required to sign in again.
 
The aim of the user experience is to authenticate once through the login required in Power Pages that authenticates via their Entra ID, display a headline dashboard with links to the Power BI Service to Dashboards within that allow them to view more detailed content. There could be upwards of 30 Dashboards that the user has access to, which is why we would like to effectively pass the login credential from Power Pages to Power BI without the need to reauthenticate.
 
I'm not in the detail, or experience with Power Pages to be able to suggest how this could be done and hope that some on here will be able to make suggestions on how to proceed. Any help is much appreciated.
 
TIA
Matt
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,215 Super User 2025 Season 2 on at
    Power Pages - link and open Power BI with credentials
     

    Hi Matt, thanks for the detailed explanation—this is a common challenge when integrating Power BI with Power Pages and aiming for a seamless SSO (Single Sign-On) experience across both environments.

    Let’s break down what’s happening and how to improve the user experience.


     Current Setup Summary

    • Users sign in to Power Pages via Entra ID (Azure AD).
    • A Power BI dashboard is embedded on the landing page.
    • Navigation buttons link to Power BI Service (app.powerbi.com) dashboards.
    • Users are prompted to sign in again when clicking these links—even though they’re already authenticated.

     Why Reauthentication Happens

    Power Pages and Power BI Service are separate web apps with different session contexts:

    • Power Pages uses Entra ID authentication via its own session.
    • Power BI Service (app.powerbi.com) requires its own browser session and cookie-based auth.
    • If the user hasn’t signed into Power BI in that browser tab/session, they’ll be prompted again.

     Recommended Solutions

    1. Use Power BI Embedded with Azure AD SSO

    If you're embedding dashboards in Power Pages, use Power BI Embedded with Azure AD SSO:

    • This allows users to view embedded dashboards without reauthenticating, as long as they’re signed into Power Pages.
    • Requires proper configuration of Power BI workspace, Azure AD app registration, and Power BI service principal.

    🔧 Key steps:

    • Enable SSO for Power BI Embedded in Azure.
    • Ensure the Power BI workspace is in Premium capacity (required for embedding with SSO).
    • Use the Power BI JavaScript API to embed dashboards securely.

    2. Avoid Redirecting to app.powerbi.com

    Instead of linking users to dashboards in the Power BI Service:

    • Embed all dashboards directly in Power Pages using tabs, buttons, or dropdowns.
    • This keeps users within the authenticated Power Pages session and avoids reauth prompts.

    3. If Linking Is Necessary, Use Silent Auth

    If you must link to app.powerbi.com:

    • Consider using MSAL.js or Entra ID silent authentication to pre-authenticate users in the background.
    • This can reduce or eliminate the need for manual login prompts.

     Best Practice Architecture

    Component Recommendation
    Authentication Use Azure AD SSO across Power Pages and Power BI
    Dashboard Access Prefer embedding dashboards in Power Pages
    Navigation Use in-page navigation (tabs, dropdowns) instead of external links
    Licensing Ensure Power BI Premium capacity for embedded SSO
    Dev Tools
    Use Power BI JavaScript SDK for advanced control
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems. ❤️ Give it a Like if you found the approach useful in any way.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Featured topics