Deployment failures - Azure Static Web App with .Net 10 Managed Functions

Dave 0 Reputation points
2026-11-28T00:10:54.47+00:00

Azure Static Web App deployment failures

Plan: Free · Region: Central US

API: managed Functions, .NET 10 isolated worker, Functions runtime ~4

Problem

Since 2026-11-26, every GitHub Actions deployment fails during polling. The Oryx build succeeds, the API builds, functions.metadata is generated and the upload finishes. About 15 seconds after "Polling on deployment" starts, the status becomes Failed with only:

Deployment Failure Reason: Failed to deploy the Azure Functions.

There is no inner exception in the Actions log, and the portal diagnostics don't show the underlying activation error.

Timeline (UTC)

Last successful deployment: 2026-11-19 00:00 (commit f074a32)

First failed deployment: 2026-11-26 23:51 (commit d43082e)

At least 8 attempts failed between 2026-11-26 and 2026-11-27, including reruns and empty redeploy commits.

Configuration

  • Workflow: Azure/static-web-apps-deploy@v1, action: upload, app_location "/", api_location "api", skip_app_build: true. The workflow is unchanged between the last success and the failures.
  • csproj: <TargetFramework>net10.0</TargetFramework>, AzureFunctionsVersion v4, Microsoft.Azure.Functions.Worker 2.51.0, Worker.Sdk 2.0.7
  • staticwebapp.config.json: "platform": { "apiRuntime": "dotnet-isolated:10.0" }, which matches the csproj as the Supported Languages and Runtimes doc requires. Deploys failed the same way before and after this setting was added.

Retrying has not helped. All attempts fail at the same point.

Other customers report the same failure with .NET 10 isolated managed Functions in Nov 2026, in Central US and East US 2. One reports that .NET 8 isolated and Node 20 still deploy to the same resource:

https://github.com/Azure/static-web-apps/issues/1820

https://github.com/Azure/static-web-apps/issues/1821

None of these issues has had a response from Microsoft.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.

0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-28T00:12:14.5433333+00:00

    Your runtime configuration is supported, so stop retrying unchanged deployments and escalate this as an Azure Static Web Apps managed-Functions activation failure, using the failed deployment timestamps and matching public issue as correlation evidence.

    Why this points beyond the build

    Microsoft documents .NET 10.0 isolated on Azure Functions 4.x as a supported Static Web Apps managed-Functions runtime. The required pairing is:

    <TargetFramework>net10.0</TargetFramework>
    
    {
      "platform": {
        "apiRuntime": "dotnet-isolated:10.0"
      }
    }
    

    Your project already has that pairing and uses the isolated model, satisfying the documented runtime selection requirements.^1^

    The closest public incident is issue #1820: the same .NET isolated 10.0 runtime, successful package processing followed by rejection at approximately 15 seconds, and no inner error.^2^ A separate report reproduces managed-Functions provisioning failure on two fresh Free-plan apps.^3^

    These reports do not establish an official outage or root cause, but they closely match the failure stage and exclude a runtime-value mismatch as the immediate explanation.

    Escalate with deployment identifiers

    1. In Azure portal → Static Web App → Diagnose and solve problems, run both:
      • Deployment
      • Serverless API hosting
    2. If no inner error appears, open an Azure support request and include:
      • Static Web App resource ID and region.
      • Plan: Free.
      • Last success: 2026-11-19 00:00 UTC, commit f074a32.
      • First failure: 2026-11-26 23:51 UTC, commit d43082e.
      • Each failed GitHub Actions run URL, UTC timestamp, and deployment ID shown in its log.
      • Exact terminal message: Failed to deploy the Azure Functions.
      • The fact that build, metadata generation, and upload complete before polling fails.
      • Links to issues #1819 and #1820 for symptom correlation.

    Microsoft directs immediate Static Web Apps problems to Azure support and also accepts product issues in the Static Web Apps GitHub repository.^4^ Add your reproduction details to #1820 rather than opening another duplicate issue.

    Practical mitigation if production is blocked

    Managed Functions are deployed and operated as part of the Static Web Apps resource. The supported alternative is bring your own Functions, where a separately hosted Azure Function App is deployed independently and connected to Static Web Apps.^5^

    Because API options depend on the hosting plan, verify plan eligibility before using this workaround. If necessary:

    1. Create a separate Windows Azure Function App supporting Functions 4.x and .NET 10 isolated.
    2. Deploy the API independently.
    3. In the Static Web App, link the existing Function App as its API backend.
    4. Remove api_location from the SWA deployment only after the external API is linked and tested.

    This avoids the failing managed-Functions provisioning path, but it changes hosting and potentially cost. Do not substitute an Azure DevOps AzureFunctionApp task against the hidden managed backend; managed Functions remain owned and deployed by Static Web Apps.

    One package-format check for the next deployment

    Current Azure Functions guidance for .NET 10 uses Azure.Functions.Sdk as the project SDK and an explicit Microsoft.Azure.Functions.Worker reference; that SDK generates function metadata and prepares deployment output.^6^

    Your project still lists Microsoft.Azure.Functions.Worker.Sdk 2.0.7. Since the same project previously deployed successfully, this does not explain the dated regression by itself. Nevertheless, test migration to the currently documented project format on a branch or disposable SWA resource—not first against production—and compare the generated package. If that fresh deployment fails at the same polling stage, attach it to the escalation as a clean reproduction.

    Application Insights is useful for errors produced after an API starts, but this failure occurs during deployment activation. It therefore might not record anything. When available, Static Web Apps logs are enabled through Application Insights.^7^


    References

    1. Supported languages and runtimes in Azure Static Web Apps
    2. .NET isolated 10.0: same Static Web App accepts one package and rejects later packages at 15s with no inner error · Issue #1820 · Azure/static-web-apps · GitHub
    3. Managed Functions backend fails to provision on Static Web Apps (Free) — "Failed to deploy the Azure Functions" at ~31s, reproduces on two fresh apps · Issue #1819 · Azure/static-web-apps · GitHub
    4. Azure Static Web Apps Frequently Asked Questions
    5. API support in Azure Static Web Apps with Azure Functions | Microsoft Learn
    6. Guide for running C# Azure Functions in the isolated worker model
    7. Troubleshooting deployment and runtime errors
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer 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.