When running Azure functions, if the function is timed out, an error is encountered. By default, Azure function timeouts in 5 minutes. The maximum for consumption plan is 10 minutes. To avoid time-out issues, users can look into the logs to identify what caused the time-out, enable application insights for the Azure Functions app, configure retry policy when a function fails, or split/refactor the function code to smaller functions. Retry policy can be configured at the host level or function level, and timeout value can be changed in the host.json file. For more details, refer to official Azure Functions documentation.