Deployment Failed for Azure Functions App

Delcastillo, Joseph 1 Reputation point
2022-10-28T15:15:32.51+00:00

I am trying to deploy a function app API but after successfully building, I keep getting the following error:
I also found that I cannot access the <your-app-service>.scm.azurewebsites.net either, as that returns a "Server Error in '/' Application. The network path was not found." error.

Run Azure/functions-action@v1  
  with:  
    app-name: epots-api  
    slot-name: Production  
    package: ./api/  
    publish-profile: ***  
    respect-pom-xml: false  
    respect-funcignore: false  
    scm-do-build-during-deployment: false  
    enable-oryx-build: false  
  env:  
    AZURE_FUNCTIONAPP_PACKAGE_PATH: ./api/  
    NODE_VERSION: 18.x  
Successfully parsed SCM credential from publish-profile format.  
Using SCM credential for authentication, GitHub Action will not perform resource validation.  
Error: Execution Exception (state: ValidateAzureResource) (step: Invocation)  
Error:   When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings from https://<scmsite>/api/settings with publish-profile  
Error:     Failed to fetch Kudu App Settings.  
Internal Server Error (CODE: 500)  
Error:       Error: Failed to fetch Kudu App Settings.  
Internal Server Error (CODE: 500)  
    at Kudu.<anonymous> (D:\a\_actions\Azure\functions-action\v1\node_modules\azure-actions-appservice-rest\Kudu\azure-app-kudu-service.js:62:23)  
    at Generator.next (<anonymous>)  
    at fulfilled (D:\a\_actions\Azure\functions-action\v1\node_modules\azure-actions-appservice-rest\Kudu\azure-app-kudu-service.js:5:58)  
    at processTicksAndRejections (internal/process/task_queues.js:97:5)  
Error: Deployment Failed!  

How do I fix this such that I can deploy my functions?

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

1 answer

Sort by: Most helpful
  1. Delcastillo, Joseph 1 Reputation point
    2022-10-29T00:08:38.347+00:00

    My problem was a missing storage container. Remaking the Functions App regenerated one and a new connection between the two, resolving the problem

    0 comments No comments