Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

Delete Report in Azure Workspace

Hi,

 

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 ?

 

5 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      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 :smileyhappy:

    • zach_fransen's avatar
      zach_fransen
      Advocate I

      Having the same issue-- I receive an unauthorized on GetTables, although client.Datasets.GetDatasets(workspaceCollectionName, workspaceId) works fine. Any news?

      • Anonymous's avatar
        Anonymous
        Not applicable

        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 :smileyhappy: