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

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

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

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,294 questions
No comments
{count} votes

Accepted answer
  1. answered 2020-04-23T20:03:03.04+00:00
    Grmacjon-MSFT 8,516 Reputation points Microsoft Employee

    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

    No comments

3 additional answers

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

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

    No comments

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

    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. answered 2020-05-08T20:45:51.34+00:00
    Letícia Miranda 41 Reputation points

    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

    No comments