Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have been successfully adding AD Security Groups to Row Level Security roles in Power BI, except for one group.
When you type the group name, the resulting matches appear in a picklist. This list appear to only show 10 matches.
If you are adding a user, that is not a problem - keep typing the email address until there are 10 or less matches, then select the relevant user.
My problem is with AD group called "Angus" (it is a geograhical area of Scotland). But there are also more than 10 users that have Angus as either their forename or surname. When I type in "Angus", only 10 usernames are shown in the picklist, and not the "Angus" security group.
How can I add the Angus security group to my role?
(It's a very Scottish problem 😂)
I've tried this with Ruki's blog information. I've used an account with BI admin permissions. I get the error
Invoke-PowerBIRestMethod : One or more errors occurred.
At line:18 char:1
+ Invoke-PowerBIRestMethod -Method post -Url “/groups/D056A50D-E8A5-492 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
Hi, @lappins ;
With PowerShell, you can add an AD group to Power BI Workspace using the Groups – Add Group User API or Add-PowerBIWorkspaceUser Cmdlet.
What you will need:
https://rukiatu.com/adding-ad-security-group-to-power-bi-workspace-using-powershell/
Power BI Group management using Active Directory roles and PowerShell
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.