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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors