microsoft / microsoft/powerbi-powershell

Remove group from PowerBIWorkspace

Open
#384 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
413
Forks
134
Avg merge
33m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Add-PowerBIWorkspaceUser and Remove-PowerBIWorkspaceUser commands, especially their PrincipalType, UPN, and identifier handling. Check the Power BI workspace permissions behavior for groups; done means removal supports a group in addition to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
authorization, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.