Unable to create/delete PG servers

Dor Yaloz 0 Reputation points
2025-11-05T14:54:02.53+00:00

I can't access/delete an Azure Database for PostgreSQL flex,
what can I do?

Azure Database for PostgreSQL
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Swapnesh Panchal 1,380 Reputation points Microsoft External Staff Moderator
    2025-11-05T22:48:33.0366667+00:00

    Hi @Dor Yaloz ,
    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    Quick checklist for “can’t access / can’t delete” Azure Database for PostgreSQL – Flexible Server:

    1. Subscription/region blockers • Register provider: az provider register --namespace Microsoft.DBforPostgreSQL • Check IAM role and deny assignments (need Owner/Contributor or equivalent) • Remove resource locks (RG/subscription → Locks) • Review Activity log for RequestDisallowedByPolicy, quota/capacity; try another region or raise a quota request if needed
    2. Delete-specific blockers • Delete read replicas first • Ensure no long-running control-plane op is active (Updating/Deleting); if stuck, open a support ticket to cancel/unblock • Confirm no policy/blueprint is denying delete for this resource type
    3. Access (connectivity) checks • Server state is “Available” • Use correct FQDN *.postgres.database.azure.com with SSL; port 5432 open • Public access: add client IP to firewall • Private access: DNS resolves to private IP; NSG/UDR allow traffic on delegated subnet

    References (official docs): https://learn.microsoft.com/azure/postgresql/flexible-server/overview https://learn.microsoft.com/azure/postgresql/flexible-server/how-to-troubleshoot-common-issues https://learn.microsoft.com/azure/postgresql/flexible-server/how-to-delete-server

    I’ve requested some details via private message. Please share them so we can proceed with further troubleshooting.


Your answer

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