Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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 ?

 

1 ACCEPTED SOLUTION

http://stackoverflow.com/questions/36802875/powerbi-embedded-unable-to-delete-datasets

 

Apparently there was a bug in the DeleteDatasetById.  I verified that It is now working.

View solution in original post

5 REPLIES 5
runtim
Frequent Visitor

I am working on the same issue.  I am following information here:

 

https://msdn.microsoft.com/en-us/library/microsoft.powerbi.api.beta.datasets.aspx

 

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.  

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

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 Smiley Happy

http://stackoverflow.com/questions/36802875/powerbi-embedded-unable-to-delete-datasets

 

Apparently there was a bug in the DeleteDatasetById.  I verified that It is now working.

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 Smiley Happy

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors