How do I publish a function to Azure using Core Tools?

Letícia Miranda 41 Reputation points
2020-04-23T15:42:37.463+00:00

When I try to put in the Azure Cloud Shell an error appears

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,155 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 17,136 Reputation points
    2020-04-23T20:03:03.04+00:00

    Hi @Letícia Miranda ,

    The Azure Functions Core Tools supports two types of deployment: deploying function project files directly to your function app via Zip Deploy and deploying a custom Docker container. You must have already created a function app in your Azure subscription, to which you'll deploy your code. Projects that require compilation should be built so that the binaries can be deployed. Remember, you must have the Azure CLI installed locally to be able to publish to Azure from Core Tools.

    Please follow these steps outlined in this documentation" Work with Azure Functions Core Tools" to learn how to deploy your function project

    Hope that helps. Let us know if you have further questions.

    Thanks,

    Grace

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Letícia Miranda 41 Reputation points
    2020-04-24T18:27:37.61+00:00

    Does Azure Cli need to be installed on my computer to work? @Grmacjon-MSFT

    0 comments No comments

  2. Letícia Miranda 41 Reputation points
    2020-04-24T18:34:44.04+00:00

    I am taking the course to create serverless applications in Microsoft Learn and there is asking to do so, and the Azure Power Shell appears in the corner of the screen and when I try to follow the instructions of the Azure Cli, an error appears @Grmacjon-MSFT


  3. Letícia Miranda 41 Reputation points
    2020-05-08T20:45:51.34+00:00

    It appears that some functions are null. But the exercise asks to copy what will be placed in CloudShell and when I put it wrong and I can't create it. @Grmacjon-MSFT

    0 comments No comments