cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jhyot
Advocate I
Advocate I

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
runtim
Frequent Visitor

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?

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

runtim
Frequent Visitor

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

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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors