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

charles ansong 20 Reputation points
2023-11-29T13:59:13.0566667+00:00

Hello team. I get the error below when I deploy virtocommerce to azure:

I use this link to do the deployment: https://docs.virtocommerce.org/getting-started/deploy-from-precompiled-binaries-azure/

See error below:

{
  "code": "ResourceDeploymentFailure",
  "target": "/subscriptions/1c48b4c3-32bc-46a3-8474-3c58e260c50e/resourceGroups/test2/providers/Microsoft.Web/sites/virtotest2/sourcecontrols/web",
  "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."
}
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,960 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,888 questions
{count} votes

Accepted answer
  1. Andriy Bilous 11,816 Reputation points MVP Volunteer Moderator
    2023-11-29T21:56:48.7633333+00:00

    Hello @charles ansong

    Error The resource operation completed with terminal provisioning state 'Failed' can be caused by many different things.
    You may need to check whole error message including the "details" field; you can find the full error message by looking at your deployments in the Azure Portal and clicking the "(Error details)" link and then clicking the "Raw Error" tab.

    Possible reasons:

    • Azure Policy may be preventing the deployment to succeed. Here you will find some built-in policies to start.
    • ARM Template created by virtocommerce might be outdated
    • ARM options are missing

    Try to deploy JSON using Powershell or AZ CLI
    https://github.com/VirtoCommerce/vc-platform/blob/master/azuredeploy.json

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.