Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Overwrite not working with powershell #72

Open
maheswarar opened this issue Jun 23, 2018 · 0 comments
Open

Overwrite not working with powershell #72

maheswarar opened this issue Jun 23, 2018 · 0 comments

Comments

@maheswarar
Copy link

Hi Team,

I am facing the overwrite issue in powerBi by using powershell . can somebody please help.

Import-PBIFile -authToken $tokens -groupId $workspace.id -file "C:\Users\lmr\Downloads\JetPowerBIAX\AXPBI06 - Sales by Customer.pbix" -nameConflict Overwrite

above is the script that I am trying.

Invoke-PBIRequest : The remote server returned an error: (409) Conflict. - '{"error":{"code":"MoreThanOneDuplicatePac
kageFoundError","pbi.error":{"code":"MoreThanOneDuplicatePackageFoundError","parameters":{"DuplicatePackagesFullMatch
":"[{"id":1849583,"version":"1.0","name":"AXPBI06 - Sales by
Customer.pbix","models":[{"name":"PowerBICompanionModelResource","displayName":"AXPBI06 - Sales by Customer
","packageId":1849583,"packageVersion":"1.0","contentProviderId":7,"id":617478,"vsName":"sobe_wowvirtua
lserver","dbName":

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant