-
Notifications
You must be signed in to change notification settings - Fork 40
Overwrite
option is not working
#9
Comments
@craigb / @tonyferrell - Can you check if there is an issue with overwrite on the server side? |
@craigb / @tonyferrell Ping |
I have the same issue with powerbi cli
I tried the PowerBI embedded sample from https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app When I import an new report with the same name, its also not updating but creating a new report with same name... |
We've identified a bug in the API backend regarding this issue. We'll provide tracking updates here. |
A workaround for the time being is to delete the dataset and re-import with the same name without the overwrite flag. |
The workaround does not work in my case because I need to keep reportId (actually embeddedUrl) unchanged when the new pbix is updated |
Understood - I will bring this feedback to the team. |
Any update on this issue? |
@aluong - Do you have an update on this issue? |
The fix is being finalized this week and will then be slated for release. |
any update on the release for this fix ? |
I am experiencing this issue as well. @wbreza any update? |
I am still experiencing this issue. Is there any update? |
@gsamant - Last I checked this was working. Are you passing the -o flag? |
It's working for me at the moment |
do you need to pass any value after -o (true/false or 'Overwrite'), or just -o by itself ? I find I get a'DuplicatePackageNotFoundError' error if passing a value.... |
The DuplicatePackageNotFoundError I believe is because you are passing -o on report creation. The command seems to expect a report to overwrite, otherwise gives you an error. @simonaberry |
Hi I am using Powerbi Import CLI command but still it is not allowing me to overwrite exsiting report |
@tushu1984 I don't think it is an issue as we use it regularly. |
@ernestochaves |
@tushu1984 the error means the file still doesn't exist yet. The way it seems to work is, you need to do a first time import and use the override option only with reports that are already there. Does that make sense? Add "- o true" only if the report already exists. |
@ernestochaves |
@tushu1984 sorry to hear that. Can you show us a list of the reports you already have in that workspace? Im just guessing here, but maybe you already have several versions of the same report and it doesnt know which one to overwrite. Also, could you show the command? |
I am experiencing this now, first time trying to add the nameConflict=Overwrite parameter to the URL. Calling https://api.powerbi.com/v1.0/myorg/groups/{}/imports?datasetDisplayName={}&nameConflict=Overwrite to push a .pbix file from storage to target workspace. Workspace has no existing reports or datasets when I make the request. Response is 404 with
Can work around it for now, but it'd be great to get a fix for this. |
This npm package is deprecated. |
That occurs when Overwrite is enabled but there is nothing to Overwrite. Switch to Abort nameConflict. The full solution is to check if there is a need to overwrite or not before making the import. Regards, |
I have checked and see that
overwrite
option is not working for now. It might be a bug from server, not cli, because I check with C# code, it's not working also:The text was updated successfully, but these errors were encountered: