PostgresSQL database stays in Provisioning state for extended period for almost 2 hours then timeout cause a failure.

Lakshan 0 Reputation points
2026-06-06T12:56:25.57+00:00

I am trying to create PostgreSQL Flexible Server. It has been in provisioning state for more than 2 hours and then fails with a timeout error. What could be the reason.

Azure Database for PostgreSQL

1 answer

Sort by: Oldest
  1. AI answer

    2026-06-06T12:56:37.67+00:00

    The most common reasons for a PostgreSQL Flexible Server staying in Provisioning for a long time and then timing out are:

    1. 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.

    2. 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 name is not accepting creation of new Azure Database for PostgreSQL Flexible servers for the subscription subscription id at this time"
        In this case, register the subscription with the PostgreSQL resource provider and/or open a support request under Service and subscription limits.
    3. 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.
    4. 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 in Provisioning and 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:

    1. Check for any quota error messages and request a quota increase if needed.
    2. Verify that the subscription is allowed to create PostgreSQL Flexible Servers in that region and request region access if required.
    3. Try deploying to another supported region.
    4. 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:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.