An Azure managed PostgreSQL database service for app development and deployment.
Hi @Kal Fizer ,
Thank you for providing the details.
Based on the error message, the PostgreSQL Flexible Server is reachable and responding to connection requests. The error**"FATAL: password authentication failed for user"** indicates an authentication issue rather than a firewall or network connectivity problem.
A few key points to verify:
- For Azure PostgreSQL Flexible Server, confirm that the server is in the Ready state and that the authentication method is configured as PostgreSQL authentication or PostgreSQL and Microsoft Entra authentication. Password resets are only applicable when password-based authentication is enabled.
- If you recently reset the administrator password, ensure the reset operation completed successfully in the Azure portal before attempting to reconnect.
- Review any Bicep/ARM deployments, CI/CD pipelines, or Azure Key Vault integrations that manage the
administratorLoginPassword. We have seen scenarios where automated deployments overwrite a manually reset password with a stored secret value. - Verify the administrator username exactly as shown in the server properties and test connectivity using a PostgreSQL client with SSL enabled. Microsoft documentation also recommends testing with an alternative client to rule out client-specific configuration issues.
Since you have already performed multiple password resets, I recommend checking the Azure Activity Log for any recent deployments or configuration changes that may have updated the administrator password after the reset.
If the issue persists after confirming the above, please share the requested details via private message so that further investigation can be performed.
Microsoft References:
- Password authentication failed for user - Azure Database for PostgreSQL [Password a...soft Learn | Learn.Microsoft.com]
- Reset administrator password in Azure Database for PostgreSQL Flexible Server [Reset Admi...soft Learn | Learn.Microsoft.com]
Please let us know the outcome after validating the authentication configuration and any deployment automation affecting the server credentials.
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.