Azure Functions unavailable for 3 days during maintenance

Pete 0 Reputation points

From 10/29 to 10/31 my functions were unavailable. If I tried to make a request to the function or run the function through the portal I would get a 503 response. When I went to each individual function and went to Code/Test Azure wasn't able to find any files (normally .py files are there). I would then get a error saying Unreachable. After a few days they started working again.

When trying to troubleshoot I was able to find that maintenance was going on. I don't think it should be the case that the functions should be unavailable for this long during maintenance. In the future should I expect extended downtime during maintenance?

These are consumption linux functions running python 3.10.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,683 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 9,150 Reputation points Microsoft Employee

    @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: User's image
    • Then select the Function App Down or Reporting Errors and Custom Time Range and click on Apply:
      User's image
    • 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. User's image

    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:

    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.

    0 comments No comments