What is the maximum execution time for an Azure Function which run under Consumption plan

john john 1,021 Reputation points
2023-03-01T20:40:05.89+00:00

I want to create a new Azure Function under Consumption plan >> but i want to know what is the maximum execution time that function can run at? some articles mentioned 5 minutes other mentioned 10 minutes? and is there a way to extend the time?

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ash G 360 Reputation points
    2023-03-01T21:01:28.5366667+00:00

    Hi,

    From the link https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale, the default and max values are shown below.

    User's image

    Please note that best practice is to avoid long running functions as explained here. https://learn.microsoft.com/en-us/azure/azure-functions/performance-reliability#avoid-long-running-functions

    Hope this helps.

    Ash

    2 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.