Verify running backend files after a ZIP rollback on Linux Azure App Service

Dean Saunders 0 Reputation points
2026-11-25T22:53:08.7966667+00:00

On Linux Azure App Service, a ZIP rollback reports RuntimeSuccessful and serves the expected static assets, but the container verification endpoint returns HTTP 503. What supported method can verify the backend files the running process is using, with SCM basic authentication disabled?

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: Most helpful
  1. AI answer

    2026-11-25T22:53:22.1933333+00:00

    Use the supported container shell access for Linux App Service: az webapp exec with Azure CLI 2.90.0 or later.

    This is the supported way to inspect the running container when SCM basic authentication is disabled, because az webapp exec supports Microsoft Entra authentication in that configuration. It allows checking the actual files visible inside the running container process instead of relying only on ZIP deployment status.

    Recommended verification path:

    1. Confirm the app starts successfully by reviewing diagnostic logs.
    2. Open a shell into the running Linux container by using az webapp exec.
    3. In that shell, inspect the deployed backend file paths and compare them with the expected rollback contents.
    4. If access fails, verify Azure CLI version, selected app, slot, instance, requested shell/executable, and connectivity/authorization to the SCM endpoint.

    Important limitation: changes made inside the container are not a deployment mechanism and do not replace updating and redeploying the app or image. Container restarts can remove files outside persisted storage.


    References:

    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.