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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.