microsoft / microsoft/powerbi-powershell
DataGateway -OverwriteExistingGateway not working
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
Not sure if this is the write place to post this. When setting the -OverwriteExistingGateway parameter in the DataGateway cmdlet, I get an error that states that the gateway already exists. Setting the parameter should not get this error. If this is the wrong place to post this, please point me in the right direction.
Add-DataGatewayCluster -Name MyLocalGateway -RecoveryKey $RecoverKey -OverwriteExistingGateway
Error:
Add-DataGatewayCluster: Gateway MyLocalGateway already exists
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 with the Add-DataGatewayCluster cmdlet and inspect how the -OverwriteExistingGateway parameter is handled when the named gateway already exists. Reproduce the issue with the provided PowerShell command; done means the command no longer reports that MyLocalGateway already exists when overwrite is requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100