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