An Azure managed PostgreSQL database service for app development and deployment.
The most common reasons for a PostgreSQL Flexible Server staying in Provisioning for a long time and then timing out are:
- Quota (vCore) limits exceeded
If the deployment would exceed the approved vCore quota for the subscription/region, provisioning can fail after an extended attempt. In such cases, a quota-related error similar to the following is raised:Operation could not be completed as it results in exceeding approved {0} Cores quota.
To fix this, submit a request to increase the quota for Azure Database for PostgreSQL flexible server and specify the vCores required. - Subscription not registered or restricted in the region
If the subscription is not properly registered with the PostgreSQL resource provider or is restricted from creating PostgreSQL Flexible Servers in the chosen region, provisioning can remain stuck and then fail. Typical errors include:- "Your subscription does not have access to create a server in the selected region."
- "Provisioning is restricted in this region. Please choose a different region."
- "Location
region nameis not accepting creation of new Azure Database for PostgreSQL Flexible servers for the subscriptionsubscription idat this time"
In this case, register the subscription with the PostgreSQL resource provider and/or open a support request under Service and subscription limits.
- Region access not enabled for the subscription
Some subscriptions (for example Azure Pass, Azure for Students, MSDN/Visual Studio, sponsorships) have access only to a limited set of regions. If trying to deploy in a region that is not enabled for that subscription, provisioning can fail. Errors include:- "Subscription name are not allowed to provision in
region name." - "Subscriptions are restricted from provisioning in this region. Please choose a different region."
To resolve this, either: - File a request to access a region for Azure Database for PostgreSQL flexible server and specify the vCores to use, or
- Deploy the server in an alternate region that is allowed for the subscription.
- "Subscription name are not allowed to provision in
- Other provisioning or capacity issues in the target region
If capacity or other backend provisioning issues exist in the selected region, the deployment may stay inProvisioningand eventually time out. When this happens repeatedly even after checking quota and region access, open a Region access or capacity-related support request under the Azure PostgreSQL flexible server support topic and specify the vCores and region.
If the server repeatedly fails to provision in the same region, recommended next steps are:
- Check for any quota error messages and request a quota increase if needed.
- Verify that the subscription is allowed to create PostgreSQL Flexible Servers in that region and request region access if required.
- Try deploying to another supported region.
- If the issue persists, open an Azure support request for Azure Database for PostgreSQL flexible server with details of the region, vCores, and error messages.
References: