Hello @Sergio Carrasco
Based on the information you've provided, this appears to be an orphaned (tombstoned) Azure Database for PostgreSQL Flexible Server where the control plane and data plane are out of sync.
The key indicators are:
- The server is not visible in the Azure portal or Azure Resource Graph.
- ARM GET returns ResourceNotFound.
- DELETE returns 204 (No Content), but the resource continues to exist.
- az postgres flexible-server list still returns the server.
- The FQDN continues to resolve and accepts connections.
- Cost Management continues to report charges.
Under normal circumstances, a successful DELETE should eventually remove the resource from both the control plane and billing. The behavior you're seeing suggests the resource metadata has become inconsistent within the PostgreSQL resource provider.
Unfortunately, there isn't a supported customer-side method to remove a tombstoned resource in this state using Azure Portal, ARM, Azure CLI, PowerShell, or the REST API.
Since you've already confirmed:
- the workload has been migrated,
- the resource is no longer required,
- Billing Support has confirmed they cannot perform the deletion,
this requires investigation by the Azure Database for PostgreSQL engineering team for a backend cleanup of the orphaned resource and any associated billing records.
In addition to the Correlation ID you've already provided, it would be helpful to include:
- The full resource ID (if available)
- Subscription ID
- Region
- UTC timestamps of the DELETE requests
- Any x-ms-request-id or x-ms-correlation-request-id response headers from the REST API
Those identifiers will help the engineering team trace the backend operation and determine why the resource provider still returns the server while ARM reports it as missing.
Given that Billing Support has already confirmed they cannot resolve this and the resource is in an inconsistent state, a Microsoft moderator may be able to help escalate this thread to the Azure Database for PostgreSQL product team for a backend cleanup, especially since the orphaned resource continues to incur charges.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.