Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I would like to know if there is any way to add members (people or group) to a specific role using some kind of power shell script or API or even programatically. The users with access will be sitting in a table populated by an external system. So bascically every time an user is added to the table, I will trigger a process to add the user as a member.
Solved! Go to Solution.
hi @rperes
To my knowledge, There is no way to add a user for RLS via Power Shell, API directly.
And you try this workaround, you could add users into security group, then set RLS by this security group.
Now add users in a table to security group via Power Shell.
Regards,
Lin
hi @rperes
To my knowledge, There is no way to add a user for RLS via Power Shell, API directly.
And you try this workaround, you could add users into security group, then set RLS by this security group.
Now add users in a table to security group via Power Shell.
Regards,
Lin
@rperes - I do not see anything obvious in the Power BI REST API's or Powershell references.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
30 | |
19 | |
19 | |
13 | |
13 |
User | Count |
---|---|
30 | |
22 | |
19 | |
18 | |
17 |