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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
PowerKoen
Frequent Visitor

Embedded RLS - Apps owns data - Dynamic usernames

Hi there,

 

Read several posts/blogs but still got a question. We have a portal which embedded power bi (non power bi users / apps owns data). 

 

1. At the generatetokenrequest, we can lookup the 'EffectiveIdentity'. Is it possible to lookup a SQL table? Based on the e-mail login for the portal? So if a client logs into the portal with its e-mail/username it will lookup this e-mail/username in the SQL table and pass the customer code (from the SQL table) as username for power BI?

 

2. Is it possible to pass multiple usernames? So client A, is linked to customer code 112 & 113. Pass this as usernames to power bi.  In the power bi report RLS filters the customer code tabel on 112 & 113. Or do I need to make a table inside PowerBI which links username 112, to multiple other codes (113/114 etc)?

 

Thank you in advance!

0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.