microsoft / powerbi-powershell

PowerShell community for Microsoft PowerBI. Here you will find resources and source for PowerShell modules targeting PowerBI.
MIT License
348 stars 121 forks source link

Remove group from PowerBIWorkspace #384

Open kimlaurits opened 1 year ago

kimlaurits commented 1 year ago

Hi, It's possible to add group to a PowerBI Workspaces via Add-PowerBIWorkspaceUser. Here you use the parameter PrincipalType to define if its a App, Group, User.

To remove permissions we can use Remove-PowerBIWorkspaceUser. But that only seems to support UPN - and therefore only users. There is no option similar to PrincipalType or Identifier.

philosophicles commented 4 months ago

+1 vote for this feature, I've just come up against this too.