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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.