How to delete a seemingly corrupted resource

Dieuwe Van Amerongen 0 Reputation points
2025-09-10T08:41:34.7866667+00:00

I can list a resource gsa-he-db, but when I navigate to the detail page of that resource, it says that a create date can't be found for the resource: can't access property "createdAt", this._serverData().systemData is undefined
It looks like the resource is corrupted, if I further navigate to locate the delete option, and instruct to delete the resource, it can't, because the delete option can't find the resource (that the list can find)

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Kalyani Kondavaradala 1,735 Reputation points Microsoft External Staff Moderator
    2025-09-10T09:00:36.3533333+00:00

    Hi Dieuwe Van Amerongen,

    Thanks for posting your query on Microsoft Q&A!

    Based on your description i understand that you are facing issue with the resource which you are not able to delete that and you can't see the details of the resource. please correct if i am wrong.

    To further investigate on this could you please confirm the details requested over the Private messaging and also confirm below details as well to understand better.

    1. What type of resource is gsa-he-db (e.g., Azure SQL Database, Storage Account, etc.)?
    2. Have you tried accessing the resource through both the Azure Portal and CLI commands?

    Meanwhile you can try the below steps in order to resolve your issue.

    Check for Locks: First, make sure that there are no locks on the resource preventing deletion. You can do this by running the Azure CLI command:

    az lock list --resource-group <your-resource-group>
    

    PowerShell Command: Use Azure PowerShell to attempt to remove the resource:

    Remove-AzResource -Name "gsa-he-db" -ResourceGroupName "<your-resource-group>" -Force
    

    Replace <your-resource-group> with the appropriate name for your resource group.

    If you have already tried these steps and the issue still persists, please confirm so that we can engage the backend/Product Group team for further investigation.

    Please let me know if you are having further questions on this.

    Thanks!

    Kalyani

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.