Creating Your First Azure PowerShell Function App

Adam Bertram
12 min readOct 7, 2020

Originally published at https://adamtheautomator.com on October 7, 2020.

You may have already heard the term serverless-computing. Many cloud service providers offer this service, including Microsoft. With Microsoft’s Azure Functions, you can create function apps that support many languages, including Azure PowerShell.

Suppose you want to automate issuing software licenses to customers. When the customer paid, your website sends an HTTP request to your Azure Function App. The app then validates payment and automatically sends the license to the customer’s email address.

That’s just one scenario where an Azure Function App can be used. There are more usage scenarios from e-commerce to monitoring and reporting where Azure Function Apps can fit in.

In this article, you will learn how to create an Azure PowerShell Function App, develop, test, and execute the code. You’ll also get the chance to build a mini-project where you’ll create a function for getting the status of Azure VMs and display the result on the web.

Prerequisites

There are several ways to create an Azure PowerShell Function App, and in this article, you will learn the most basic way with the least requirements.

To follow along with the instructions, you need to meet these requirements below.

  • You must have a valid Azure account with an active subscription. If you don’t have one…

--

--

Adam Bertram

A 20-year veteran of IT, crypto geek, content creator, consultant and overall problem solver.