The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.

Evan Van Scooter 50 Reputation points
2023-05-09T13:07:51.9066667+00:00
  • Resource/subscriptions/*****/providers/Microsoft.Sql/managedInstances/smi-inf-sql-dev-east1/securityAlertPolicies/Default
  • Operation nameUpdate managed server threat detection policy
  • Time stampThu May 04 2023 17:26:47 GMT-0400 (Eastern Daylight Time)
  • Error codeResourceDeploymentFailure
  • MessageThe resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.
Azure SQL Database
{count} votes

4 answers

Sort by: Most helpful
  1. Stuart Dobson 16 Reputation points
    2024-05-06T04:22:21.95+00:00

    This error is not much use - I have found you're able to get more details by going to the Deployments tab in Azure, clicking on the failed deployment, Related Events, Expand the Operation, find the one that failed and then, this is the important bit, look at the Json tab. I've found that there is usually more added to the message than is shown further up the chain.

    2 people found this answer helpful.

  2. Alberto Morillo 34,556 Reputation points MVP
    2023-05-09T13:35:22.9066667+00:00

    Please verify an Azure Policy may be preventing the deployment to succeed. Here you will find some built-in policies to start.

    1 person found this answer helpful.

  3. Cody Holmes 10 Reputation points
    2025-01-29T15:23:17.3333333+00:00

    Yet again, another Azure error that has no explanation. Having the same issue, which is disrupting my business. Microsoft really needs to get this entire system together. I'm getting incredibly annoyed with Azure.

    I'm starting to understand why everyone is on Amazon infrastructure.

    0 comments No comments

  4. Ayaz 0 Reputation points
    2025-02-25T09:42:56.4766667+00:00

    i am also facing some issue : The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed

    0 comments No comments

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.