microsoft / microsoft/powerbi-powershell

New-PowerBIReport -- please provide replace option

Open
#200 4 comments 0 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

Please provide a replace option on New-PowerBIReport. If a report of the same name already exists in the workspace then the report should be replaced if the option is specified. Current behaviour is to create a second report of the same name.

This would be extremely useful in deploying pbix files. Because of the current one-to-one relationship between apps and workspace reports often have to be deployed and updated in multiple workspaces. The replace option would allow PS to easily accomplish this.

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 locating the New-PowerBIReport cmdlet and reviewing how it handles an existing report name in a workspace. Define the replace option's behavior for deployment scenarios, then verify that specifying it replaces the matching report while the default behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.