I have a relatively simple Azure Function running under the consumption plan with a timeout setting of 4 four minutes.
When I execute through the portal it gets execu