Can Azure App Service Linux on Free F1 run an internal warm-up probe with public network access disabled?

2026-11-24T00:27:43.15+00:00

We tested a code-based Node.js 24 LTS app on Azure App Service for Linux using the Free F1 tier. Public network access was disabled for both the main site and SCM/Kudu throughout the test.

The temporary startup command was configured to listen on the app port and return HTTP 204 only on a dedicated path. For example, with /warmup-test as the path, the settings would be WEBSITE_WARMUP_PATH=/warmup-test and WEBSITE_WARMUP_STATUSES=204. We left WEBSITES_CONTAINER_START_TIME_LIMIT unset. App Service app settings documentation

The Azure Activity Log recorded one successful Start and one successful Stop, about four and a half minutes apart. The Azure Resource Manager instance API reported UNKNOWN throughout the observation window. The app is now stopped and its original startup configuration has been restored.

  1. Does App Service enforce the configured 204 warm-up response for code-based Linux apps on Free F1 when public network access is disabled?
  2. Is there a supported way to check, after the app has stopped, whether Azure ran the startup command, sent the internal warm-up request, and received a response or timed out? We’re looking for evidence from the existing run that can be read with both endpoints closed.

Thanks for any documentation or guidance on how to interpret UNKNOWN in this setup.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-11-24T00:29:24.4133333+00:00

    WEBSITE_WARMUP_PATH and WEBSITE_WARMUP_STATUSES=204 are documented to apply to code-based App Service for Linux with no stated F1 exception, but Microsoft’s public documentation does not explicitly guarantee that exact behavior for an F1 app whose main and SCM public endpoints are both disabled.

    Warm-up behavior

    For Linux apps, App Service starts the app container and repeatedly requests WEBSITE_WARMUP_PATH. When WEBSITE_WARMUP_STATUSES is set, only a listed response marks the container ready; other responses cause probing to continue until success or the startup limit is reached. If readiness is never established, the platform fails and retries the startup attempt.^1^

    In this test:

    • /warmup-test was the expected probe path.
    • Only HTTP 204 qualified as successful.
    • Because WEBSITES_CONTAINER_START_TIME_LIMIT was unset, the documented default for Linux was 230 seconds.^1^
    • These settings expressly cover both code-based and container-based Linux apps.
    • The documentation lists no Free/F1 exclusion.

    Disabling publicNetworkAccess disables access through the default public entry point, and App Service access restrictions concern inbound access. The networking documentation does not state whether this setting can suppress or alter the platform orchestrator’s internal startup probe.^2^ Therefore, the documented warm-up contract supports expecting enforcement, but it does not provide an authoritative guarantee for the precise F1-plus-disabled-public-access combination.

    The roughly four-and-a-half-minute Start-to-Stop interval is not proof that the default startup timeout occurred. Activity Log records control-plane operations—who performed Start or Stop, when, and whether those operations completed—not the startup command’s execution or individual warm-up HTTP exchanges.^3^

    Evidence available from the completed run

    With the app stopped and both endpoints closed, the run can be reconstructed only if runtime evidence was already persisted outside those endpoints.

    1. Open App Service → Monitoring → Diagnostic settings.
    2. Determine whether a diagnostic setting existed during the test and which Log Analytics workspace received it.
    3. In that workspace, inspect:
      • AppServiceConsoleLogs for startup-command output.
      • AppServicePlatformLogs for container operations.
      • AppServiceHTTPLogs for any recorded request to /warmup-test.

    These tables are supported for Linux App Service, including console output, HTTP logs, and platform/container-operation logs.^4^ A resilient initial query is:

    union isfuzzy=true
        AppServiceConsoleLogs,
        AppServicePlatformLogs,
        AppServiceHTTPLogs
    | where TimeGenerated between (datetime(<start-utc>) .. datetime(<stop-utc>))
    | extend Record = tostring(pack_all())
    | where Record has_any ("warmup-test", "204", "starting", "startup", "timeout")
    | project TimeGenerated, Record
    | order by TimeGenerated asc
    

    Replace the two UTC placeholders with the exact observation window. Narrow by the app’s resource ID if the workspace contains multiple apps.

    Important limitations:

    • AppServiceHTTPLogs support does not guarantee that an internal platform warm-up request appears there.
    • Application-side logging in the /warmup-test handler is stronger proof that the request reached the process and that the handler selected 204.
    • Diagnostic settings and application logging are not retroactive. Enabling them now cannot reconstruct the previous run.
    • Linux Node.js application logs can be retained in the App Service file system, but without code changes they are not written to blob storage through App Service application logging.^5^
    • File-system logs normally require Kudu/SCM access for retrieval. Consequently, they are not presently readable while SCM remains unreachable and the app remains stopped.

    If no external logs were routed and the application did not persist its own evidence, there is no documented ARM operation that returns the historical startup command, warm-up request, response status, or timeout result.

    Interpreting UNKNOWN

    Do not interpret the ARM instance API’s UNKNOWN as warm-up success, failure, or timeout. The available instance-identifier API documentation identifies the operation as listing scale-out instances but does not define UNKNOWN as a warm-up outcome.^6^

    Separately, the App Service Site status feature defines Unknown as App Service being unable to determine the runtime state, typically because of a temporary platform communication issue.^7^ That definition should not automatically be transferred to an undocumented value returned by a different ARM instance API. In either case, UNKNOWN is inconclusive evidence.

    If confirmation of this run is required

    If no retained diagnostic or application logs exist, open an Azure Support request and provide:

    • Subscription and app resource identifiers.
    • Azure region.
    • Exact UTC start and stop interval.
    • Activity Log correlation IDs.
    • Any instance identifiers returned during the test.
    • The app settings and startup command used.

    Ask support to determine whether internal platform telemetry is still retained and to confirm the supported behavior for F1 with publicNetworkAccess=Disabled. App Service guidance recommends escalation when self-service diagnostics cannot resolve a site-status/startup issue.^7^ Historical reconstruction might not be possible after internal telemetry retention expires.

    For a future controlled test, route AppServiceConsoleLogs, AppServicePlatformLogs, and AppServiceHTTPLogs to Log Analytics beforehand, and have the warm-up handler emit a timestamped structured record immediately before returning 204. An external sink is more reliable than /home; file persistence depends on the app’s storage configuration and retention.


    References

    1. Environment variables and app settings in Azure App Service
    2. Azure App Service access restrictions
    3. Monitor Azure App Service
    4. Azure App Service monitoring data reference
    5. Enable diagnostic logs for apps in Azure App Service
    6. WebAppsListInstanceIdentifiersDefaultResponse interface-Property Details
    7. Use the App Service site status page
    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.