-
Notifications
You must be signed in to change notification settings - Fork 61
Description
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
AzureWebJobsStoragefor 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:
- Create SWA with integrated Functions API (.NET isolated).
- Configure custom binding connection (works).
- Observe App Insights health check telemetry for
AzureWebJobsStorage. - Try adding
AzureWebJobsStoragein SWA app settings -> rejected as invalid.