Azure Functions Flex Consumption returns 503: Kudu/FDM still uses old deployment storage although ARM points to a new storage account

gtb 0 Points de réputation
2026-11-29T22:35:18.8133333+00:00

Hello,

I am experiencing an Azure Functions Flex Consumption issue and would like to know whether the deployment/runtime state of the Function App can become inconsistent with the deployment storage configuration exposed by ARM.

Environment:

  • Azure Functions Flex Consumption
  • Linux
  • Node.js 24
  • Region: France Central
  • Application name: func-beleor-prod
  • Azure for Students subscription

Symptoms:

  • Portal diagnostics reports: "Functions runtime is unreachable".
  • GET /api/health does not respond normally in Azure.
  • /admin/host/status also times out.
  • Azure still lists 21 functions for the Function App.
  • New ZIP deployments fail with:

BlobUploadFailedException:

Failed to upload blob to storage account:

Server failed to authenticate the request.

Make sure the value of Authorization header is formed correctly including the signature.

Application code validation:

The same backend has been tested locally with:

  • Node.js 24.14.1
  • Azure Functions Core Tools 4.17.0
  • @azure/functions 4.17.1

The local Functions host starts successfully, the worker initializes correctly, and 22 functions are loaded.

GET /api/health returns:

HTTP 200

{"service":"BELEOR API","version":"2.2.0","status":"ok"}

This indicates that the application code itself and the Node.js 24 Functions worker can start successfully.

Deployment storage inconsistency:

ARM currently reports the following deployment configuration:

properties.functionAppConfig.deployment.storage:

type:

blobContainer

value:

https://rgbeleorflexpkg2026.blob.core.windows.net/app-package

authentication.type:

StorageAccountConnectionString

storageAccountConnectionStringName:

DEPLOYMENT_STORAGE_RECOVERY

However, the Flex/Kudu logs show that Kudu/FDM is still using the OLD deployment storage account.

At 2026-11-29 21:42:10 UTC:

[BlobContainerStorage] Failed to download

https://rgbeleorproda64a.blob.core.windows.net/app-package-func-beleor-prod-d3855de/kudu-state-...json

Error:

Server failed to authenticate the request.

Make sure the value of Authorization header is formed correctly including the signature.

At 2026-11-29 21:47:46 UTC:

[BlobContainerStorage] Failed to upload

https://rgbeleorproda64a.blob.core.windows.net/app-package-func-beleor-prod-d3855de/DeploymentTemporaryFiles/.../..._source.zip

Error:

BlobUploadFailedException:

Failed to upload blob to storage account:

Server failed to authenticate the request.

This means ARM reports:

rgbeleorflexpkg2026 / app-package

while Kudu/FDM is actually attempting to use:

rgbeleorproda64a / app-package-func-beleor-prod-d3855de

I also aligned the deployment-related application settings so that:

DEPLOYMENT_STORAGE_CONNECTION_STRING

DEPLOYMENT_STORAGE_CONNECTION_STRING_V2

DEPLOYMENT_STORAGE_RECOVERY

all reference the new deployment storage account.

AzureWebJobsStorage was intentionally left unchanged because it is used as the application's operational/data storage.

Despite this, Kudu/FDM continues to access the old deployment storage container.

Additional verification:

  • Shared Key access is enabled on the old storage account.
  • Public network access is enabled.
  • Network default action is Allow.
  • TLS 1.2 is enabled.
  • The relevant storage connection information was validated separately.
  • The old deployment container and kudu-state file can be accessed using Azure CLI.
  • The last known deployment state recorded a completed deployment with successful Kudu-UploadPackageStep and FDM-SiteUpdateTask.
  • A newly prepared application ZIP has also been validated locally, but deployments fail before the new code can become active.

Questions:

  1. Can the internal Flex Consumption Kudu/FDM deployment-storage state become out of sync with properties.functionAppConfig.deployment.storage?
  2. Is there a supported procedure to force Kudu/FDM to re-read or resynchronize the deployment storage configuration without recreating the Function App?
  3. Why would Kudu/FDM continue targeting the previous deployment storage account after ARM and the deployment-related application settings point to a new account?
  4. Is this a known Flex Consumption specialization/deployment-state issue?

I can provide the Azure resource ID and additional deployment/specialization logs privately if a Microsoft engineer needs them.

No storage account keys, connection strings, Function master keys, or application secrets are included in this post.

Thank you.

Stockage Blob Azure
Stockage Blob Azure

Service Azure qui stocke des données non structurées dans le cloud sous forme d’objets blob.

0 commentaires Aucun commentaire

Votre réponse

Les réponses peuvent être marquées comme « Acceptées » par l’auteur(e) de la question et « Recommandées » par les modérateurs, ce qui aide les utilisateurs à savoir que la réponse a résolu le problème de l’auteur(e).