Version: eXtendFiles 1.8.4 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 February 2026):
- Sign in to Azure and open the Storage account used by eXtendFiles.
- In the left menu, go to Resource sharing (CORS).
- Under Blob service, add a new CORS rule.
What to use for Allowed origins
Use your eXtendFiles subdomain from NetSuite:
- NetSuite path: eXtendTech → eXtendFiles → eXtendFiles Configuration.
- Look for the subdomain value, then use it in this format:
If you use the same Azure storage account with multiple NetSuite environments, include each environment’s subdomain as an Allowed origin.
Sample CORS rule (XML)
<Cors><CorsRule><AllowedOrigins>https://YOUR_SUBDOMAIN.cf.suitextend.net</AllowedOrigins><AllowedHeaders>*</AllowedHeaders> <AllowedMethods>PUT</AllowedMethods> <ExposedHeaders>Content-Type</ExposedHeaders><MaxAgeInSeconds>1800</MaxAgeInSeconds></CorsRule></Cors>

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).