Service: Azure Database for PostgreSQL Flexible Server, Azure Private Link
Scenario: My PostgreSQL Flexible Server has been stuck in Updating state for over 24 hours and cannot be deleted. The server has been replaced and I need to remove it.
Root cause identified: A circular deadlock between the Network Resource Provider (NRP) and the PostgreSQL API.
- A private endpoint associated with the server is in
provisioningState: Failed
- NRP retries the delete every ~60 seconds, calling
DeletePrivateEndpointConnectionProxy on the PostgreSQL flexible server API
- Every attempt returns
ServerIsBusy from Nrp.Frontend.ClientCommon / DeletePrivateEndpointOperation
- The server is in
Updating because of these NRP retries — making it circular
Result: Any operation on the server (delete, stop, restart, reject private endpoint connection) returns:
(ServerIsBusy) Cannot complete operation while server is busy processing another operation. Try again later.
Troubleshooting steps taken:
- Attempted
az postgres flexible-server delete — ServerIsBusy
- Attempted
az network private-endpoint delete on the failed PE — ServerIsBusy
- Attempted
az postgres flexible-server stop — ServerIsNotReady (Updating state)
- Attempted to reject the private endpoint connection via PUT to the server's
privateEndpointConnections API — operation was accepted but server remains in Updating state
- Checked activity log — NRP retry visible every ~60 seconds
Question: Is there a way to force-cancel the stuck NRP operation, or break this deadlock without Azure Support backend access?
Tags: azure-database-postgresql-flexibleserver azure-private-link azure-virtual-network
Service: Azure Database for PostgreSQL Flexible Server, Azure Private Link
Scenario: My PostgreSQL Flexible Server has been stuck in Updating state for over 24 hours and cannot be deleted. The server has been replaced and I need to remove it.
Root cause identified: A circular deadlock between the Network Resource Provider (NRP) and the PostgreSQL API.
- A private endpoint associated with the server is in
provisioningState: Failed
- NRP retries the delete every ~60 seconds, calling
DeletePrivateEndpointConnectionProxy on the PostgreSQL flexible server API
- Every attempt returns
ServerIsBusy from Nrp.Frontend.ClientCommon / DeletePrivateEndpointOperation
- The server is in
Updating because of these NRP retries — making it circular
Result: Any operation on the server (delete, stop, restart, reject private endpoint connection) returns:
(ServerIsBusy) Cannot complete operation while server is busy processing another operation. Try again later.
Troubleshooting steps taken:
- Attempted
az postgres flexible-server delete — ServerIsBusy
- Attempted
az network private-endpoint delete on the failed PE — ServerIsBusy
- Attempted
az postgres flexible-server stop — ServerIsNotReady (Updating state)
- Attempted to reject the private endpoint connection via PUT to the server's
privateEndpointConnections API — operation was accepted but server remains in Updating state
- Checked activity log — NRP retry visible every ~60 seconds
Question: Is there a way to force-cancel the stuck NRP operation, or break this deadlock without Azure Support backend access?
Tags: azure-database-postgresql-flexibleserver azure-private-link azure-virtual-network