Not able to deploy virtual endpoints for the postgres flexible server

Wang, Yue 60 Reputation points
2025-05-22T16:00:44.3433333+00:00

I tried to deploy virtual endpoints after setting up the replica for the flexible server, but there is error showing that

"

"Server has 1 virtual endpoint of type ReadWrite. More than 1   │ virtual endpoints are not allowed of type ReadWrite"

"
That is strange as there was no virtual endpoints have been deployed, and in the terraform, we only try to deploy one virtual endpoint.

We tried to create an virtual endpoints both from the portal and with CLI, and both failed, in the CLI, it shows there's already virtual endpoint.

As below, when I tried to list virtual endpoints, it shows error as no virtual endpoints could be found, then we I tried to create one, it shows there's already one existing.

Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. Mahesh Kurva 5,120 Reputation points Microsoft External Staff Moderator
    2025-05-23T22:41:45.3466667+00:00

    Hi Wang, Yue,

    Initially you are currently facing an issue with deploying virtual endpoints for your Azure PostgreSQL Flexible Server.

    Our backend team has investigated and resolved the issue related to the virtual endpoint conflict.

    I hope this helps! Please let us know if you have any further questions.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.