Create The Timer Trigger Azure Function In Azure Portal


This article will help you learn how to create Timer Trigger Function in Azure Portal.

Before reading this article, please go through some important articles mentioned below,

  1. Exploring About Azure Function

Azure Function

Azure Functions is the serverless computing service and is hosted on the Microsoft Azure public cloud. It is designed to accelerate and simplify application development. The cloud provider takes care of all the headaches of running the server, dynamically managing the resources of the machine, etc. It also provides auto scalability.

Serverless applications, also known as Function-as-a-Service or FaaS, is an offering from most of the enterprise cloud providers in which they allow the users to only write code and the infrastructure behind the scenes is managed by them.

Azure Functions is the event-based serverless application framework which can automatically scale up and down based on the executions that are being triggered. This Microsoft Azure service allows you to run small pieces of code in Node.js, C#, Python, PHP and Java without any infrastructure configurations.

Here, we will see about Azure Function.


Azure Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application.

Key Features

  • Intuitive, browser-based user interface - You can write code in the easy-to-use web interface.
  • write code in different programming languages
  • pay per function execution
  • parallel execution when multiple triggers occur
  • Supports Continuous Deployment and Integration


Triggers are what cause a function to run. A trigger defines how a function is invoked and a function must have exactly one trigger. Triggers have associated data, which is often provided as the payload of the function.

Create the Timer Trigger Azure Function in Azure Portal


If you want your Azure Function to execute in a specified time, you can use the Timmer Trigger for your Azure Function.


  • Microsoft Azure Account.

Follow the below steps to create an Azure Storage Account.

Step 1

Log in here. Please go through the article mentioned below for creating Azure Function.

Timer Trigger Azure Function

Step 2

After successfully create the Azure Function services, you are land over to the overview page as shown below. Then click on Function under Function tab

Timer Trigger Azure Function

Step 3

Now, Click on Create option to create function trigger.

Timer Trigger Azure Function

Step 4

In this blade, you can able to see many triggers. choose timer trigger here.

Timer Trigger Azure Function

Step 5

Now, we can see two options are there. First, we need to create name for the new function. Second, we need to schedule the function.

Timer Trigger Azure Function

Here are some examples of timer expressions for triggering your function

Timer Trigger Azure Function

Now, we are choosing the schedule for 1 minute (0 */1 * * * *). So it execute the function every 1 minute. Now, click on Create button.

Step 6

Once it is created, you can able to see overview blade for Timmer Trigger Function

 Timer Trigger Azure Function

Here, you can have some options:

  1. Code + Test  is used for adding your customized code
  2. Integration is used for adding your input and output bindings
  3. Monitor is used to monitor your function insights
  4. Function Keys have your keys to access your functions

Step 6

First, we click on code + Test option. Then we can find some default template for Timmer Trigger

Timer Trigger Azure Function


We can also run our function inside our portal itself. Just click by Test/Run

Now, we can successfully run our Timmer Trigger here. The output will look like this.

Timer Trigger Azure Function

And also, we can able to see the Total executions too from overview blade

Timer Trigger Azure Function


I hope you understood how we can create a Timer trigger in Azure portal. Stay tuned for more articles on Azure Function.