microsoft / microsoft/powerbi-powershell
-Scope Organization supported for all Workspaces
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
I'm a Power BI Service Admin (via AAD Priv ID management), and I tried using this command to add a user to an orphaned workspace, but got hit with the following error:
WARNING: Only preview workspaces are supported when -Scope Organization is specified
Add-PowerBIWorkspaceUser : Operation returned an invalid status code 'InternalServerError'
At C:\Users\<username>\Desktop\<script>.ps1:7 char:1
+ Add-PowerBIWorkspaceUser -Scope Organization -Id x#xx####-#x##-###x-# ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...BIWorkspaceUser:AddPowerBIWorkspaceUser) [Add-PowerBIWorkspaceUser], HttpOperationException
+ FullyQualifiedErrorId : Operation returned an invalid status code 'InternalServerError',Microsoft.PowerBI.Commands.Workspaces.AddPowerBIWorkspaceUser
Any idea when non-preview Workspaces will be supported? This would be an invaluable tool for saving my users lots of rework and cleaning up our Cloud Service tenant.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Add-PowerBIWorkspaceUser command's -Scope Organization behavior and the Power BI service support for non-preview and orphaned workspaces. Confirm the relevant API limitations and existing command tests, if present. Done means organization scope can add users to supported non-preview workspaces without the reported warning or internal-server error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100