{
  "id": "cloud/azure-function-app-storage-connection-string-missing",
  "signature": "Microsoft.Azure.WebJobs.Extensions.Storage: The value for 'AzureWebJobsStorage' is missing or empty.",
  "signature_zh": "Microsoft.Azure.WebJobs.Extensions.Storage：'AzureWebJobsStorage' 的值缺失或为空。",
  "regex": "The value for 'AzureWebJobsStorage' is missing or empty\\.",
  "domain": "cloud",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Azure Functions requires the AzureWebJobsStorage app setting to be configured with a valid Azure Storage account connection string for internal runtime operations like blob lease management and queue processing.",
  "root_cause_type": "generic",
  "root_cause_zh": "Azure Functions 需要将 AzureWebJobsStorage 应用程序设置配置为有效的 Azure 存储帐户连接字符串，以进行内部运行时操作，如 Blob 租约管理和队列处理。",
  "versions": [
    {
      "version": "Azure Functions runtime ~4",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Azure Functions runtime ~3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Azure.Storage.Blobs 12.13.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Microsoft.NET.Sdk.Functions 4.1.3",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The runtime explicitly checks for null or empty strings and throws the same error; it requires a valid connection string.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The Functions host requires this setting for core operations; without it, the runtime cannot start.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "The connection string must point to an accessible storage account; network or firewall restrictions cause silent failures.",
      "fail_rate": 0.7,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Add or update the AzureWebJobsStorage app setting with a valid connection string from your Azure Storage account. Example in Azure Portal: Application Settings -> AzureWebJobsStorage = 'DefaultEndpointsProtocol=https;AccountName=mystorageaccount;AccountKey=...;EndpointSuffix=core.windows.net'",
      "success_rate": 0.95,
      "how": "Add or update the AzureWebJobsStorage app setting with a valid connection string from your Azure Storage account. Example in Azure Portal: Application Settings -> AzureWebJobsStorage = 'DefaultEndpointsProtocol=https;AccountName=mystorageaccount;AccountKey=...;EndpointSuffix=core.windows.net'",
      "condition": "",
      "sources": []
    },
    {
      "action": "If using Azurite locally, set AzureWebJobsStorage to 'UseDevelopmentStorage=true' in local.settings.json. Example: { \"IsEncrypted\": false, \"Values\": { \"AzureWebJobsStorage\": \"UseDevelopmentStorage=true\" } }",
      "success_rate": 0.9,
      "how": "If using Azurite locally, set AzureWebJobsStorage to 'UseDevelopmentStorage=true' in local.settings.json. Example: { \"IsEncrypted\": false, \"Values\": { \"AzureWebJobsStorage\": \"UseDevelopmentStorage=true\" } }",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Add or update the AzureWebJobsStorage app setting with a valid connection string from your Azure Storage account. Example in Azure Portal: Application Settings -> AzureWebJobsStorage = 'DefaultEndpointsProtocol=https;AccountName=mystorageaccount;AccountKey=...;EndpointSuffix=core.windows.net'",
    "If using Azurite locally, set AzureWebJobsStorage to 'UseDevelopmentStorage=true' in local.settings.json. Example: { \"IsEncrypted\": false, \"Values\": { \"AzureWebJobsStorage\": \"UseDevelopmentStorage=true\" } }"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azurewebjobsstorage",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.92,
  "resolvable": "true",
  "first_seen": "2024-03-12",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}