microsoft / microsoft/powerbi-powershell
New-PowerBIReport -- please provide replace option
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
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 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