For me, this issue was:
Networking - Virtual network - check what vnet it is connected to.
Open that vnet and make sure you don't have a DoNotDelete lock. Deleted that lock, and "Unknown error." dissapeared.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When attempting to delete an Azure Database for PostgreSQL Server, the error message "An error occurred deleting PostgreSQL server. Unknown error." is displayed. The resource is empty and there are no user databases. How can I resolve this issue and successfully delete the server?
For me, this issue was:
Networking - Virtual network - check what vnet it is connected to.
Open that vnet and make sure you don't have a DoNotDelete lock. Deleted that lock, and "Unknown error." dissapeared.
Please check the status of the server on the overview page. Is it still showing as available or in a deleting state?
Also, if you haven't tried using the CLI yet, please do so and see if it works.
az postgres flexible-server delete --resource-group testGroup --name testserver
Thank You!