question

Steph-6376 avatar image
0 Votes"
Steph-6376 asked SwathiDhanwada-MSFT commented

How to delete workspace log analytics that have an internal error when I delete it? I try Portal, Cli, Powershell (all the same)

When I try to delete my DefaultWorkspace-xxxxx I have an internal error. If I check the Recources and I see that provisioningState is Creating. There was an error when creating it. I just when to delete it. I create an other one and all work fine. But I want to clear the bad one. I try also by Resources.azure.com but not working.

azure-monitor
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Steph-6376 Welcome to Microsoft Q & A Community Forum. Is it possible for you to share error message that you are prompted when you are trying to delete the workspace using PowerShell ?

0 Votes 0 ·

Here are what I type and the answer

77366-image.png


And the reason (I think) is in the resources.azure.com I see that for the Workspace object.

77358-image.png

The provisioningState never change to Succeeded

so I have an other properties: "enableSoftDelete": false, that is never remove because the object think it is in creation mode.

I don't know how to force the end of creation state.



0 Votes 0 ·
image.png (28.2 KiB)
image.png (17.7 KiB)

@Steph-6376 One workaround I could suggest if the resource group contains only the log analytics resource, is to try deleting the resource group. If it doesn't work, I would recommend reaching out to technical support team by raising support ticket using these steps. They can assist you in deleting this resource.


0 Votes 0 ·

0 Answers