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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
HFT
Helper I
Helper I

RLS

I have a power bi premium per user license and I want to embed a rls based report in web url, as I can see after integrating the RLS in the report there is no Publish to web URL highlighted (which i am using presently). All the reports which I generate are been embedded in the web page using the Publish to web URL for easy usage.  Now I am working on client based report and should be able to make the RLS embed url be worked in our web page and that to without any extra costing can I achieve it. If yes please let me know the approach.

1 ACCEPTED SOLUTION

Hi @HFT Could you check these documentationplease 

View solution in original post

6 REPLIES 6
HFT
Helper I
Helper I

Any different approach, if it includes license also that is ok, please let me know.

Akash_Varuna
Super User
Super User

Hi @HFT You can't use "Publish to Web" for RLS-enabled reports as it's public .... try these for your requirement

  • Use Secure Embed (File > Embed > Secure Embed) for authentication-based embedding on your webpage.
  • Ensure all users accessing the report have Power BI Pro or PPU licenses.
  • Alternatively, share the report via a Power BI app to enforce RLS.
    If this post helped please do give a kudos and accept this as a solution
    Thanks In Advance

 

Hi Akash,

I do know about the app, but they do not want to see the report through app and they want to check it in thier product web page. Can you please enlighten me on the first option and can we achieve to publish the url in the client web page and the particular x person should only see their related data and in the same case for y and z.

Hi @HFT Use the Power BI REST API to generate embed tokens with RLS roles for each user (X, Y, Z). Authenticate using Azure AD, fetch tokens dynamically, and embed the report on your webpage using the Power BI JavaScript API

Thank you for the response Akash, but I havent used this complex approach before can you please guide me step by step on how to achieve this.

Hi @HFT Could you check these documentationplease 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.