I've setup a WebApp that displays a PowerBI report (via PowerBI Embedded) in it. I followed every steps of the process, uploaded the .pbix file, and everything works fine in terms of display.
However, I would like to update this report with the .pbix file I have on my computer. Now I could update the new one under a different name, and setup my WebApp to only show the last report uploaded (and I'm not sure it would even work).
But what I'd much rather do is Replace of Delete the first report and upload a new one.
I've looked into the API documentation but I didn't find an obvious way to do it, so I'm not sure of how to proceed.
Let's assume I have access to everything from AccessKey, WorkspaceCollectionName, WorkspaceID and ReportId.
Can anyone help me with that ?
Solved! Go to Solution.
I am working on the same issue. I am following information here:
So far I have tried the extension method "DeleteDatasetById", but I get an "Unauthorized" message in return. Tomorrow I will try the DeleteDatasetByIdWithHttpMessagesAsync to see if that will work.
I have tried deleting Datasets just like you, but got an "Unauthorized" message too. I don't even know if deleting datasets could delete the reports that come with it.
Keep me posted if you manage to find a solution
None. I think I might have to reupload a new .pbix on the same workspace each time, and only display the last one uploaded to my users. I'm hoping the option to delete reports will be there before the end of beta