An Azure service that provides an event-driven serverless compute platform.
Based on the error and the checks already done, focus on validating the AzureWebJobsStorage configuration and the storage account’s ability to serve as host storage for the web job (Functions runtime):
- Confirm
AzureWebJobsStorageis present and valid- Ensure the app setting
AzureWebJobsStorageexists on the Web App/WebJob and is not empty or misspelled. - Verify it is a full storage connection string of a general-purpose storage account that supports blobs, queues, and tables, for example:
DefaultEndpointsProtocol=https;AccountName=<name>;AccountKey=<key>;EndpointSuffix=core.windows.net - If the connection string is invalid or points to a non‑compatible account, the runtime raises errors like “storage credentials are incorrect.”
- Ensure the app setting
- Check for invalid or stale credentials
- If the storage account access keys were regenerated after the app setting was configured, the connection string in
AzureWebJobsStoragebecomes invalid. - Regenerate a fresh connection string from the storage account (Access keys blade) and paste it into
AzureWebJobsStorage. - This resolves scenarios where diagnostics report invalid credentials or
StorageExceptionwhen connecting to storage.
- If the storage account access keys were regenerated after the app setting was configured, the connection string in
- Verify access to all required storage services
- The storage account referenced by
AzureWebJobsStoragemust allow access to Table Storage and support read, write, delete, add, and create operations. - If the account or its configuration blocks these operations (for example, via permissions or network rules), the runtime logs errors like AZFD0003.
- The storage account referenced by
- Check network/firewall configuration beyond “Public network access: Enabled”
- Even with public access enabled, ensure no firewall rules or virtual network restrictions are blocking the app from reaching the storage account.
- The app must be able to reach blobs, queues, and tables using the connection string.
- Avoid using a Key Vault reference in
AzureWebJobsStorage(unless explicitly supported)- If
AzureWebJobsStorageis set to a Key Vault reference instead of a connection string, this can trigger diagnostic events like AZFD0002 (invalid value) unless the scenario is configured to use identity-based host storage. - For classic WebJobs/Functions scenarios, keep
AzureWebJobsStorageas a direct connection string unless specifically configured for identity-based connections.
- If
- Compare with a working storage account
- Since other storage accounts work, compare:
- Connection string format and keys.
- Storage account type (must be general-purpose with blobs/queues/tables).
- Any differences in firewall or network settings.
- Since other storage accounts work, compare:
If after these checks the error persists, capture the exact diagnostic event IDs (e.g., AZFD0001, AZFD0002, AZFD0003) from Functions diagnostics; they directly indicate whether the app setting is missing, invalid, or failing to access storage.
References:
- Troubleshoot error: "Azure Functions Runtime is unreachable"
- AZFD0001: AzureWebJobsStorage app setting is not present.
- AZFD0002: Value of AzureWebJobsStorage app setting is invalid.
- AZFD0003: Encountered a StorageException while trying to fetch the diagnostic events.
- App settings reference for Azure Functions