Share via

SCM endpoint unavailable on Flex Consumption Function App

Sven Peeters 20 Reputation points
2026-03-03T08:26:37.1466667+00:00

The SCM endpoint is frequently unavailable with the message "The service is unavailable."

The function app itself is working just fine but it's blocking for deployment of new versions.

As mysteriously as it happens, it also disappears after a while.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

{count} votes

Answer accepted by question author
  1. Rakesh Mishra 6,565 Reputation points Microsoft External Staff Moderator
    2026-03-03T10:06:28.7533333+00:00

    Hi @Sven Peeters ,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Kudu is transient on Flex Consumption

    Linux-based Consumption plan apps don't have a full scm (Kudu) site (Ref: Azure Docs). On the Flex Consumption plan specifically, Kudu is only spun up during an active deployment — and once deployment completes, it is recycled. This is why the SCM endpoint shows "The service is unavailable" between deployments, and then "mysteriously" comes back when a deployment is initiated.

    Flex Consumption Deployment

    Please use Flex consumption Deployment diagnostics tool to find out if any issues are reported. A Flex Consumption Deployment diagnostic tool is available in the Azure portal. Open your Flex Consumption app, select Diagnose and solve problems, and search for Flex Consumption Deployment. This tool displays detailed information about your deployments, including deployment history, package status, and troubleshooting recommendations.

    From diagnostic tools, noticed there were deployment failures. Upon checking with internal team, we got to know there was an outage in the region and it was mitigated.

    Also, as confirmed over Private message that issue is resolved and able to proceed with deployment now.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.