Unable to deploy sql flexible server

Sudeep Gangadharan 25 Reputation points
2025-06-03T17:44:00.7366667+00:00

I'm unable to deploy a SQL flexible server. I keep getting the error :
{"code":"DeploymentFailed","target":"/subscriptions/7098da77-f7f8-4022-adc3-124dc67ef4ff/resourceGroups/bytepe-prod-rg/providers/Microsoft.Resources/deployments/MySqlFlexibleServer_92790a80409b11f0b26babfa1eb118e5","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/7098da77-f7f8-4022-adc3-124dc67ef4ff/resourceGroups/bytepe-prod-rg/providers/Microsoft.DBforMySQL/flexibleServers/bytepe-mysql-prod-server","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."}]}

Is this a problem with my subscription?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
977 questions
{count} votes

Accepted answer
  1. Saraswathi Devadula 5,485 Reputation points Microsoft External Staff Moderator
    2025-06-09T13:25:31.3866667+00:00

    Hello Sudeep Gangadharan

    Glad to know that your issue has been resolved.

    Initially, you were unable to deploy the server in Central India region, with the error message, The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. Provisioning in requested region is not supported.

    In further investigation, we attempted to enable the region level access, and you were able to deploy it.

    I hope this has been helpful!

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    If this answers your query, do click Accept Answer and Upvote for was this answer helpful.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Abiola Akinbade 28,325 Reputation points Volunteer Moderator
    2025-06-03T18:07:45.3866667+00:00

    Hello Sudeep Gangadharan,

    Thanks for your question.

    Firstly , access the Activity Log to identify any related events or operations that might have contributed to the failure.

    Possible reasons may include Azure Policy which may be preventing the deployment to succeed.

    Try deploying using CLI and let me know if you are still facing the same issue. This can be done in the CLI using the az mysql flexible-server create commandlet.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Sudeep Gangadharan 25 Reputation points
    2025-06-04T14:14:43.97+00:00

    Hello folks,

    I'm still getting the same error message. But when I looked for the error message I get the following :

    {
        "status": "Failed",
        "error": {
            "code": "ProvisionNotSupportedForRegion",
            "message": "Provisioning in requested region is not supported."
        }
    }
    

    I'm trying to deploy "Azure Database for MySQL" on the region CentralIndia. I'm trying to deploy via the Azure Portal.

    Another time i got this error:

    {
        "status": "Failed",
        "error": {
            "code": "ProvisioningDisabled",
            "message": "Subscriptions are restricted from provisioning in this region. Please choose a different region. For exceptions to this rule please open a support request with Issue type of 'Service and subscription limits'."
        }
    }
    

    It fails for me irrespective which region I select, i have tried "US east" , "CentralIndia", "SouthIndia".

    Not sure what I'm doing wrong.
    Appreciate any help!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.