In recent years, serverless has become one of the most talked-about technologies.

You merely pick the language you want to write in, deploy the code, and consume the results.

Provisioning Azure Function App

First, navigate to “Function App” within the Azure Portal.

Click on "Create Function App" button

Once there, choose the “Create Function App” button.

Enter in the values that make the most sense for your environment and needs.

In this example, we are going to use the PowerShell Core 7.0 runtime.

Enter in values

Because this is PowerShell, the runtime only supports Windows, despite PowerShell 7 being cross-platform.

Finally, we are using the Consumption plan for this Azure Function.

For Monitoring, we are going to create a new app Insights configuration and switch on the Monitoring option.

Create a new storage account to hold the function’s output data

We are going to skip tagging in this article, and move on to Review & Create.

Once here, verify that everything looks accurate, then select “Create.”

Navigate to your App Function and pick the “Functions” pane.

Create a new Application Insights configuration and enable the monitoring option

Once there, select “Add” and choose the HTTP trigger template.

Here you will find an inline code editor that will allow you to test and run your function code.

The values below are the default configurations.

Verify everything is accurate, then click "Create"

So, what can you do with Function Apps?

The modifications we are making to the default configuration are:

Click “Save” to make the changes.

We will Test/Run this code to verify that it works as expected.

Under "Functions," click "Add" and choose HTTP trigger template

As it’s possible for you to see from the output, the weather data is returned as expected.

Conclusion

Azure Functions is a powerful tool to create serverless functions in several languages.

Create a new functi

Click on the function HttpTrigger1, then click on the "Code + Test" section

Click on "Run" to verify the code works

The correct output is shown the Output tab under the HTTP response content

Click on the "Get Function" URL button

The weather data is returned