Unable to add Private endpoint to existing Azure Database for PostgreSQL flexible server

Shabir jan 21 Reputation points
2025-04-17T16:04:47.2366667+00:00

I am trying to add private endpoint to existing Azure Database for PostgreSQL flexible server, and i following this guide: https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-networking-servers-deployed-public-access-add-private-endpoint?tabs=portal-add-private-endpoint-connections

But every time when I click create on the last step, the deployment continuously fails with this error:

The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.

Call to Microsoft.DBforPostgreSQL/flexibleServers failed. Error message: An unexpected error occured while processing the request. Tracking ID: 'b2e56841-87aa-41f1-a570-3d9973644757' (Code: InternalServerError)
Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. Saraswathi Devadula 3,150 Reputation points Microsoft External Staff Moderator
    2025-04-18T15:55:22.53+00:00

    Hello Shabir jan

    Following our discussion, you are unable to create the private endpoint for Azure PostgreSQL flexible server with the error message, Microsoft.DBforPostgreSQL/flexibleServers failed. Error message: An unexpected error occurred while processing the request.

    Upon my investigation, I verified that the Private endpoint enabling is capable for the specific server and I tried to mitigate this issue.

    Kindly please try to create the private endpoint and let us know the update.

    I hope this has been helpful!

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    If this answers your query, do click Accept Answer and Upvote for was this answer helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.