Azure-functions-core-tools: "Deploy to Function App" completes but the function is not deployed

Created on 11 Jun 2018  路  2Comments  路  Source: Azure/azure-functions-core-tools

I am trying to deploy an HTTP trigger function from VS Code on Ubuntu 16.04.

The output is:

8:29:11 AM func-app-REDACTED: Creating zip package...
8:29:13 AM func-app-REDACTED: Starting deployment...
8:29:16 AM func-app-REDACTED: Fetching changes.
8:29:16 AM func-app-REDACTED: Cleaning up temp folders from previous zip deployments and extracting pushed zip file D:\local\Temp\zipdeploy\cu52gx3b.zip (4.98 MB) to D:\local\Temp\zipdeploy\extracted
8:29:20 AM func-app-REDACTED: Updating submodules.
8:29:21 AM func-app-REDACTED: Preparing deployment for commit id '6360f136fa'.
8:29:22 AM func-app-REDACTED: Generating deployment script.
8:29:22 AM func-app-REDACTED: Using cached version of deployment script (command: 'azure -y --no-dot-deployment -r "D:\local\Temp\zipdeploy\extracted" -o "D:\home\site\deployments\tools" --basic --sitePath "D:\local\Temp\zipdeploy\extracted"').
8:29:23 AM func-app-REDACTED: Running deployment command...
8:29:23 AM func-app-REDACTED: Command: "D:\home\site\deployments\tools\deploy.cmd"
8:29:25 AM func-app-REDACTED: Handling Basic Web Site deployment.
8:29:26 AM func-app-REDACTED: KuduSync.NET from: 'D:\local\Temp\zipdeploy\extracted' to: 'D:\home\site\wwwroot'
8:29:26 AM func-app-REDACTED: Copying file: 'obj\Debug\netstandard2.0\azure-function-experiments.csprojResolveAssemblyReference.cache'
8:29:26 AM func-app-REDACTED: Finished successfully.
8:29:27 AM func-app-REDACTED: Running post deployment command(s)...
8:29:31 AM func-app-REDACTED: Syncing 1 function triggers with payload size 138 bytes successful.
8:29:32 AM func-app-REDACTED: Deployment successful.
>>>>>> Deployment to "func-app-REDACTED" completed. <<<<<<

WARNING: Some http trigger urls cannot be displayed in the output window because they require an authentication token. Instead, you may copy them from the Azure Functions explorer.

It seems that the process is successful, but the new function does not appear in the Azure portal; the only function I can see there is the one I created directly in the portal.


VS Code 1.24.0
Azure Functions Core Tools (220.0.0-beta.0)
Function Runtime Version: 2.0.11651.0

Most helpful comment

I am still having this problem. It appears to work intermittently. Tried func azure functionapp publish but it doesn't create the function

All 2 comments

I stopped trying to use VS Code for deployment and switched to CLI - func azure functionapp publish my-function-app works as expected.

I am still having this problem. It appears to work intermittently. Tried func azure functionapp publish but it doesn't create the function

Was this page helpful?
0 / 5 - 0 ratings