The postgreSQL Flexi 17.9 Azure database is in inaccessible state. How to we change its state to ready?

Gulavani, Amruta 40 Reputation points
2026-07-14T13:30:04.11+00:00

The postgreSQL Flexi 17.9 Azure database is in inaccessible state. How to we change its state to ready?

Kindly help.

Thanks,

Amruta.

Azure Database for PostgreSQL

Answer accepted by question author
Smaran Thoomu 35,870 Reputation points Microsoft External Staff Moderator
2026-07-23T06:06:19.36+00:00

Hi @Gulavani, Amruta

Thank you for your patience.

Based on the investigation, the PostgreSQL Flexible Server entered the Inaccessible state because the User Assigned Managed Identity (UAMI) associated with the server did not have the required permissions on the Azure Key Vault used by the server.

After granting the managed identity the following Key Vault permissions:

  • Get
  • Wrap Key
  • Unwrap Key
  • List (if applicable)

and allowing some time for the service to reconcile the configuration, the server successfully transitioned from Inaccessible to Ready and became accessible again.

Based on your SR# team has confirmed that the server returned to the Ready state and they were able to access the database successfully.

I hope this helps. If you have any further questions, please let us know, we'll be happy to assist.


If this answer helped resolve your issue, please consider clicking Accept Answer so it can help other community members facing a similar problem.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,551 Reputation points
    2026-07-14T15:45:03.3166667+00:00

    Hi Amruta, first confirm whether the Flexible Server resource is marked Inaccessible or only one database connection is failing, because a database itself cannot be switched to Ready from the portal. Check Resource Health, the Activity Log, recent maintenance/scaling events, and the server overview state. If the control plane still responds, review networking, DNS, firewall/private endpoint, and connection errors before restarting anything. If the server resource itself remains Inaccessible and there is no active operation you can safely complete or cancel, do not delete or recreate it; open an Azure Database for PostgreSQL support request with the server resource ID, region, UTC start time, and correlation IDs so the backend state can be inspected.

    Was this answer helpful?

    0 comments No comments

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.