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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Without username can we implement the RLS ?

Hello,


I have custom portal where my all power bi embbed reports are linked and through AD group we are authenticating both the system based on AD groups. Here we are not capturing any user name all the mapping are done on Ad names? How we can implement the dynamic role level security ? 

 

Thanks

Devanand

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

I'd like to suggest you take a look at the following link about use RLS in power bi embedded. (as document said, the username, role, dataset are required in this feature usage, they mapped based on embed token and corresponding Azure AD)

Row-level security with Power BI Embedded#applying-user-and-role-to-an-embed-token 

Spoiler
  • username (mandatory) – A string that can be used to help identify the user when applying RLS rules. Only a single user can be listed. Your username can be created with ASCII characters.
  • roles (mandatory) – A string containing the roles to select when applying Row Level Security rules. If passing more than one role, they should be passed as a string array.
  • dataset (mandatory) – The dataset that is applicable for the artifact you're embedding.

Regards,
Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

I'd like to suggest you take a look at the following link about use RLS in power bi embedded. (as document said, the username, role, dataset are required in this feature usage, they mapped based on embed token and corresponding Azure AD)

Row-level security with Power BI Embedded#applying-user-and-role-to-an-embed-token 

Spoiler
  • username (mandatory) – A string that can be used to help identify the user when applying RLS rules. Only a single user can be listed. Your username can be created with ASCII characters.
  • roles (mandatory) – A string containing the roles to select when applying Row Level Security rules. If passing more than one role, they should be passed as a string array.
  • dataset (mandatory) – The dataset that is applicable for the artifact you're embedding.

Regards,
Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.