Skip to content

Integrated SWA Functions reports unhealthy AzureWebJobsStorage, but setting is blocked in SWA config #1728

@maf-soft

Description

@maf-soft

We see recurring health telemetry in Application Insights:

Message [Tag=''] Process reporting unhealthy: Unhealthy. Health check entries are {"azure.functions.web_host.lifecycle":{"status":"Healthy","description":null},"azure.functions.script_host.lifecycle":{"status":"Healthy","description":null},"azure.functions.webjobs.storage":{"status":"Unhealthy","description":"Unable to create client for AzureWebJobsStorage"}}
Category Microsoft.Azure.WebJobs.Script.Diagnostics.HealthChecks.TelemetryHealthCheckPublisher

In integrated Static Web Apps API, adding app setting AzureWebJobsStorage is rejected:
InvalidAppSettings: AppSetting with name(s) 'AzureWebJobsStorage' are not allowed.

So users cannot fix the runtime health check even though the app works (functions execute, Table output works via custom connection setting, alerts fire).

Expected:

  • Either SWA should internally provide/configure AzureWebJobsStorage for integrated Functions, OR
  • suppress this health check in integrated SWA mode, OR
  • provide a documented supported alternative.

Actual:

  • Persistent unhealthy health check noise in App Insights, no supported config path.

Repro:

  1. Create SWA with integrated Functions API (.NET isolated).
  2. Configure custom binding connection (works).
  3. Observe App Insights health check telemetry for AzureWebJobsStorage.
  4. Try adding AzureWebJobsStorage in SWA app settings -> rejected as invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions