Version: eXtendFiles 1.8.7 and
above
Audience: Administrator
Summary
This article explains how to enable Direct Upload for Microsoft Azure
in eXtendFiles.
With Direct Upload, files upload from
the user’s browser directly to Azure
Blob Storage instead of routing
through eXtendFiles servers. This
typically improves upload speed.
Before you begin
- You must be an Administrator in
NetSuite.
- You must have Administrator access to the Azure Storage account used by
eXtendFiles.
- eXtendFiles must already be connected to
Azure. Follow: Configure
eXtendFiles for Storage with Microsoft
Azure.
⚠️ Do not enable Direct
Upload in NetSuite until
the Azure CORS configuration is
complete.
Step 1: Configure CORS in Microsoft
Azure
For Microsoft’s latest guidance, see: Cross-Origin
Resource
Sharing (CORS) support for Azure
Storage.
To configure CORS (sample steps as of April
2026):
- Sign in to Azure, navigate to the Storage Center, and open
your Storage account in
the Object Storage → Blob
Storage menu.
- In the left menu, go to Resource
sharing (CORS).
- Under the Blob service tab, add a new
CORS rule as outlined below.

Blob Service CORS Rule
To enter the Allowed origins value in
the CORS rule, you first need to find your
eXtendFiles subdomain in the eXtendFiles
Configuration page.
- Go to the NetSuite path eXtendTech → eXtendFiles → eXtendFiles Configuration and look for the subdomain value.

- Once you know your subdomain, enter the following values for the Blob service CORS rule. Don't forget to Save after you enter these values.
- Allowed origins: your subdomain, in the format: https://YOUR_SUBDOMAIN.cf.suitextend.net
- Allowed methods: PUT
- Allowed headers: *
- Exposed headers: Content-Type
- Max age: 1800

(click the image above to open it in pop-up mode for easy viewing)
If you use the same Azure
storage account with multiple NetSuite
environments, include each
environment’s subdomain as an
Allowed origin.
Step 2: Enable Direct Upload in NetSuite
After the Azure CORS rule is in
place:
- Go to eXtendTech → eXtendFiles → eXtendFiles eXtendFiles
Configuration.
- Select Storage
Settings.
- Select General.
- Enable Direct Upload.

- Click Save.
Frequently Asked Questions (FAQs)
Q: Why am I receiving a "File
upload failed due to network or CORS
error"?
A: This error occurs when
"Direct Upload" is enabled in eXtendFiles,
but the "Cross-origin resource sharing
(CORS)" configuration for the storage
account in Azure is not properly set
up.
Q: How many CORS rules can I
configure?
A: Microsoft Azure supports
up to 5 CORS
rules per storage service (Blob,
File, Table, and Queue).