n8n · tool · fg-0543

n8n Azure Storage node fails with custom endpoint error on a Shared Key credential set to Custom cloud

If you see Azure Storage Shared Key credential with Azure Cloud set to Custom fails with a clear error when used, the cause and the fix for n8n are below, last verified 2026-10-17.

Verified Oct 2026trust 50/100
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

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun
n8n Azure Storage node fails with custom endpoint error on a Shared Key credential set to Custom cloud | Footgun