<t>(Other answer is a bit confusing, so writing instead of editing a lot)<br/>
<br/>
Azure Functions can now run up to 10 minutes using the consumption plan by adding the functionTimeout setting to your host.json file:<br/>
<br/>
In a serverless Consumption plan, the valid range is from 1 second to 10 minutes, and the default value is 5 minutes.<br/>
<br/>
In both Premium and Dedicated (App Service) plans, there is no overall limit, and the default value is 30 minutes. A value of -1 indicates unbounded execution, but keeping a fixed upper bound is recommended<br/>
<br/>
Source: https://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json#functiontimeout<br/>
<br/>
File: host.json<br/>
<br/>
// Value indicating the timeout duration for all functions.<br/>
// Set functionTimeout to 10 minutes<br/>
{<br/>
"functionTimeout": "00:10:00"<br/>
}<br/>
<br/>
```<br/>
<br/>
Source:<br/>
<br/>
[https://buildazure.com/2017/08/17/azure-functions-extend-execution-timeout-past-5-minutes/](https://buildazure.com/2017/08/17/azure-functions-extend-execution-timeout-past-5-minutes/)<br/>
<br/>
[https://github.com/Azure/azure-webjobs-sdk-script/wiki/host.json](https://github.com/Azure/azure-webjobs-sdk-script/wiki/host.json)</t>