microsoft / microsoft/powerbi-powershell

Get-PowerBIWorkspace returns blank for few items

Open
#205 2 comments 3 reactions 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

Few items return no values for Get-PowerBIWorkspace -Include All

  1. Under Workspace details : Users section, UserPrincipalName is not allowed to be displayed
  2. Under Reports details : WebURL, EmbedURL is not displayed
  3. Under Datasets : DefaultRetentionPolicy, Tables, WebURL, Relationships, Datasources, Defaultmode, ActualStorage values are not displayed
  4. Under Dataflows : ModelURL value not displayed

Ref: https://docs.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/get-powerbiworkspace?view=powerbi-ps

Fiddler traces indicate there are no calls for these in the backend APIs, so, why display blank items even if we are not calling them from the backend APIs? This might cause more questions to the admins on why are they seeing blank values.

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 at the Get-PowerBIWorkspace implementation and trace how -Include All maps the listed workspace, report, dataset, and dataflow properties. Compare those properties with the Fiddler traces showing no backend calls. Done means the command’s handling of unsupported fields is consistent and the affected output no longer misleadingly presents blank values.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.