Forum Discussion
Delete Report in Azure Workspace
- 10 years ago
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.
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.
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: