Create A Function App In Azure Portal


In this article, I will explain what Azure functions are and about its app, so let’s get started. Azure functions is a solution for running small lines of code or the functions in Cloud & we can select the programming languages, as per our desire. We can build the codes that we need at a small level, so that we need not to worry about the whole Application for running it. Azure functions Applications let us develop Serverless Applications.


  • An active Azure subscription.

Steps to be followed for creating a function app

Step 1

Login to Azure portal.

Step 2

Click New->Compute->Function app.

Azure Function app 

Step 3

Now, we need to provide the requirements given below for Functions app.

  • We need to provide an app name for Function app with the unique name.
  • Create a resource group and provide a name for your resource group.
  • The hosting part consists of consumption plan & app Service plan.
  • The consumption plan is default plan, but when we choose the consumption plan; we need to choose the location.
  • In concept of app Service plan; we need to create an app plan +location. It defines the location and features with cost with the sources with the app.

    In this article, I have explained with consumption plan, let’s stick with this.

  • The storage account has to be configured, so that we can either choose the existing storage or we can create a new storage account.

Step 4

Click Create to deploy Function app.

deploy Function app 

Now, we need to create a function

Step 5

Click New->Click Webhook + API and we need to select a language. I have selected JavaScript and select Create a new Function app.

Create new Function app

Create new Function app

Step 6

HTTP function triggered the template, which is created in the choosen language & after the function, which is created; we can test the function by HTTP request.

Test azure function app

Step 7

For testing HTTP request, click New function and the code can be reviewed in the template. The function accepts the HTTP request with the name and value, when the functions runs the value is returned to response.

Test azure function app 

Step 8

Select RUN button for running the function and we can see the execution is triggered by HTTP request. The log contains the information and the message is displayed in the output. In request body dialog box, we can change name to our own and click->RUN the output Window shows the name of you.

run Azure function app 

Step 9

Click Get </> get function URL and we can get a trigger execution function of HTTP testing, copy the link and paste it in browser or in new tab and we see the information is on the response Window.

Azure function app

Azure function app

Azure function app

I hope, this article will be useful for creating a Function app in an Azure portal.Thank you.