- Symptom
- Azure Storage Shared Key credential with Azure Cloud set to Custom fails with a clear error when usedPrivate endpoint or custom domain storage account will not connect
- Cause
- From 2.40, the Shared Key credential has an Azure Cloud dropdown. Custom endpoints only work when an admin enables N8N_AZURE_STORAGE_CUSTOM_ENDPOINTS_ENABLED, which defaults to off. Only host-style endpoints are supported.
- Fix
- Set the environment variable to true on the n8n instance and restart, and use a host-style endpoint URL.
- Apply
N8N_AZURE_STORAGE_CUSTOM_ENDPOINTS_ENABLED=true- Affected
- n8n 2.40 and later, self-hosted instances using custom or private Azure Storage endpoints
- Sources
Last verified 2026-10-17 · Confirmed by 0 builders