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
Mohamadsaif
New Member

How to use AD group for Row Level Security in Power BI?

I have to use the Azure AD security group name while applying row-level security. We can use userprincipalname() for user names but how we can do with AD group name?

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Mohamadsaif 

In the Power BI service, you can add a member to the role by typing in the email address or name of the user or security group. 

Currently, you can use the following groups to set up row level security.

  • Distribution Group.
  • Mail-enabled Group.
  • Security Group (AD Security Group)

2.png

For more details, please refer to this document.

Row-level security (RLS) with Power BI 

 

Best Regards,
Community Support Team _ Eason

 

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Mohamadsaif 

In the Power BI service, you can add a member to the role by typing in the email address or name of the user or security group. 

Currently, you can use the following groups to set up row level security.

  • Distribution Group.
  • Mail-enabled Group.
  • Security Group (AD Security Group)

2.png

For more details, please refer to this document.

Row-level security (RLS) with Power BI 

 

Best Regards,
Community Support Team _ Eason

 

lbendlin
Super User
Super User

Usually you use AD groups for static RLS (as role members).  UserPrincipalName()  is usually used for dynamic RLS (with user level granularity, and a permission mapping table)

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.