Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

PowerBi Integation

(2) ShareShare
ReportReport
Posted on by 480

I've followed this to enable powerbi for my portal. https://www.alphabold.com/embedding-power-bi-dashboard-report-in-power-apps-portal/

I've noticed that the report is actually unsecured. I'd love to enable security around it, but I'm not sure how to achieve it as my portal contacts are associated to many clients. Is RLS achievable? Has anyone done something similar and able to point me in the right direction?

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: PowerBi Integation

    Hi @skoofy5 ,

     

     Even I have voted that idea long back which you have shared. But we have achieved it by creating roles in PowerBI and applied RLS. In Portal,  we have assigned appropriate web roles. 

     

    Note: You need to use Power BI desktop 

     

    1. Create roles within the report

    Open the report on Power BI Desktop.
    On the top menu, select Modelling, then Manage Roles.

     

    ragavanrajan_0-1627524563054.png

    Create a role called "All users"
    Create one role for each active table in Tables, naming them with the proper name you like  as displayed below

     

    ragavanrajan_1-1627524798520.png

    For the Role, All Contracts, simply leave it with no filters.

     

    For the roles <Other Tables>, set up a filter on your other table, pointing to that table name.
    Make sure the contract name typed in the filter matches the contract name in the table.

    Apply the same filter for all other tables on the list.
    Click Save.

     

    ragavanrajan_2-1627525068439.png

    Important step: 

     

    2. Assign security groups to RLS

    Open Power BI Service (https://app.powerbi.com/ )
    In the workspace, click datasets + dataflows
    Select the report
    Open the 3 dots menu on the right-hand side of the report
    Select Security

     

    Over each role, Create and include the AD group that contains the external users (Clients, Partners) for that specific contract. Repeat the same for every table.

    ragavanrajan_3-1627525434352.png

     

    Then the final step will be allow the user to sign in to your Portal. Once signed in they have to sign out 

     

    Then In portal management 

     

    1. Click contacts > Find the external contact > Add Existing web role and assign appropriate web role. 

     

    I have detailed as much as I can.  In a nutshell, it is working properly so far for us. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • skoofy5 Profile Picture
    480 on at
  • skoofy5 Profile Picture
    480 on at
    Re: PowerBi Integation

    How do I create a role I can apply to the viewing portal contact dynamically? I imagine I would somehow need to pass through the contact ID? The other side to this that I'm also seeking assistance is how to create the PowerBi role that can take that contact ID and ensure they're in that 1:M relationship.

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: PowerBi Integation

    Hi @skoofy5 

     

    The answer is yes it is 100% achievable. Powerapps portal is capable of showing only the clients are entitled to see via Portal WebRoles + Power BI RLS 

    Here are the high-level steps for your reference: 

     

    The steps are:

    1. Create roles within the report
    2. Publish the report on the  workspace you like 
    3. Assign security groups to RLS
    4. Apply report permissions

     

    In PowerApps Portal: 

    1. Create relevant web roles according to your POWERBI Data tables 

    2. Assign contact to relevant webroles 

    3. In Portal Studio > Sync configuration > Browse website. 

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35