How do I fix a postgres db (flexible) that is stuck in dropping state.

MehdiDUJARDIN-2872 10 Reputation points
2025-05-26T08:01:59.06+00:00

Hello, I have a PostgreSQL flexible server that is stuck on "Dropping" state after trying to create via Bicep.

Now when I try to delete it it says the resource doesn't exist and I can't even delete it either with Azure CLI

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. Mallaiah Sangi 1,060 Reputation points Microsoft External Staff Moderator
    2025-06-03T11:33:11.7066667+00:00

    Hi MehdiDUJARDIN-2872

    Following up on the discussion, the Azure Database for PostgreSQL Flexible Server in the Azure portal is currently stuck in the dropping state.

    As mentioned, we attempted to drop the server from the backend.

    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.


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.