@Pete Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that your Azure Functions were unavailable for three days during maintenance. They received a 503 response when trying to make a request to the function or run the function through the portal. You are concerned about extended downtime during maintenance and is running consumption Linux functions running Python 3.10.
I'm sorry to hear that you experienced issues with your Azure Functions during maintenance. While it's normal for Azure Functions to become unavailable during maintenance, it should not take three days to complete.
To identify the cause of this issue, I would suggest you to follow the below action plan:
- Please check the Function App detectors by navigating to the Diagnose and Solve Problems section in the Azure Portal for the Functions as shown below: You can rely on the Function App Down or Reporting Errors setting:
- Then select the Function App Down or Reporting Errors and Custom Time Range and click on Apply:
- The detectors should share any known issue encountered during that time.
- Check the Azure Function App's logs to get more information about the error. You can do this by navigating to the Azure portal, selecting the Function App, and then selecting "Logs" from the left-hand menu. Look for any error messages or exceptions that could be causing the issue.
More Info here.
Additionally, you can troubleshoot Azure Functions by checking the logs and monitoring the function's health. Here's a link to Azure documentation that explains how to troubleshoot Azure Functions using App Insights: https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring?tabs=cmd#monitor-functions
Also I recommend checking the Azure status page to see if there were any known issues during that time.
Hope this helps.
If none of the above action plan helps, please let me know. I would be happy to assist you further.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.