An Azure managed PostgreSQL database service for app development and deployment.
Hi Jesse,
If an Azure Database for PostgreSQL Flexible Server has been stuck in Starting for several hours, stop and restart will be rejected because those operations are only available when the server is in the appropriate Ready or Stopped state. Microsoft documents this behavior directly.
There is no supported CLI command to force-cancel the pending startup operation. Recent Microsoft Q&A cases with the same Starting/ServerBusyWithOtherOperation behavior were caused by a service-side startup hang and were resolved through backend intervention.
So, if it has remained Starting for hours, this is a platform-side issue, not something you can fix with another stop or restart command. Check Resource Health and the Activity Log for the failed/long-running operation, then use the latest operation timestamp and correlation ID when opening the PostgreSQL support case.