An Azure managed PostgreSQL database service for app development and deployment.
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.