ZipDeploy Sample fails with "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'"

Siegfried Heintze 1,861 Reputation points
2024-06-26T18:08:52.6233333+00:00

I'm cross posting this because I have not received a response here: https://github.com/Azure/azure-quickstart-templates/issues/14075

I'm trying to follow these directions: https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.web/function-app-windows-consumption

  1. I downloaded https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.web/function-app-windows-consumption/azuredeploy.json and convert it to bicep with "az bicep decompile --file azuredeploy.json"
  2. I do "az functionapp list-runtimes --os windows" do confirm "dotnet-isolated" and add it to the list of run times here: https://github.com/siegfried01/zipdeployhttpfunc/blob/reached_term_prov_state_failed/infrastructure/deploy-zipdeployDemo.bicep#L236
  3. Where are the instructions for creating the storage accounts? I borrowed these steps: https://github.com/Azure-Samples/function-app-arm-templates/blob/main/zip-deploy-arm-az-cli/README.md See my actual commands on lines 136-167 of deploy-zipdeployDemo.bicep. (use the previous link to this file because I think there is a problem with this web site or my browser because often the links are getting corrupted when I paste in a URL into this post)
  4. I do the deploy deploy-zipdeployDemo.bicep (line 207) and get the error "the resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'" see deploy-zipdeployDemo.bicep line 305

Thanks

Siegfried

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,604 questions
0 comments No comments
{count} votes