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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
urvilkenia24
New Member

Get report with RLS using Power BI Rest APIs

I have a Power BI Premium subscription. I am trying to embed a report in another website in a way such that using the master credentials, I can apply RLS.

 

For example, let's say I have a Sales Report for which I generate an embed URL or use APIs to access it. I want to embed it in my organisational portal giving master credentials 'admin@myorg.com' and then pass a parameter to the API which gives me the report for a particular role defined in RLS for the report.

 

Any help is appreciated.

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @urvilkenia24 ,

 

Try "map user name" in "manage gateway".

test_map username.PNG

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Are you sure you want to do that?  Normally when you embed Power BI content the security "just works"  because all you do is put the Power BI content in the iframe.  Users will still need to authenticate to Power BI when that content is rendered, which then automatically triggers the RLS.

Helpful resources

Announcements
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.