Connect Azure Blob Storage
Use an Azure source to sync files from a container in an Azure storage account. This page covers setting up the storage account and container in Azure, then the fields to fill in on the Add data source page. For the steps around them, see Add a data source.
The endpoint reaches the storage account over the internet, so the account must allow public network access. Private endpoints aren't supported. Public network access doesn't make your files public: the endpoint still needs the connection string to read them.
Already have a storage account? Start at step 3. Already have a container? Start at step 4.
1. Check your Azure permissions
To create a storage account, you need a role such as Contributor on the resource group. To see its connection
strings, your role must include Microsoft.Storage/storageAccounts/listkeys/action. Owner, Contributor
and Storage Account Key Operator Service Role include it.
See Manage storage account access keys.
2. Create a storage account
- Open the Azure portal and select Storage accounts → Create.
- Select the subscription and resource group.
- Enter a unique storage account name and select a region.
- Select Standard performance, unless you need Premium storage.
- Select the redundancy you need.
- Under Advanced, keep Allow storage account key access turned on.
- Under Networking, turn on public network access. Choose one:
- Enable from all networks.
- Enable from selected virtual networks and IP addresses, then allow the platform's outbound IP address. Ask your platform administrator for it.
- Select Review + create → Create.
- When the deployment finishes, select Go to resource.
See Create a storage account and Azure Storage network security.
3. Create a container
- In the storage account, select Data storage → Containers.
- Select + Container.
- Enter a lowercase container name.
- Set Anonymous access level to Private (no anonymous access).
- Select Create.
- Open the container and upload the files to sync.
See Manage blob containers for all container options.
4. Copy the connection string
- In the storage account, select Security + networking → Access keys.
- Select Show keys and copy the Connection string of either key.
An account-key connection string gives full access to the storage account's data, even though the endpoint only lists and reads files. If the account holds data the endpoint shouldn't reach, use a dedicated storage account. Store the connection string as a secret, and rotate the key if it's exposed.
Fill in the fields
On the Add data source page, choose Azure as the Provider, then fill in:
| Field | What to enter | Example |
|---|---|---|
| Container | The container name, without a path or URL. | company-documents |
| Prefix (optional) | A folder path inside the container, ending with /. Leave blank to sync the whole container. | knowledge-base/reports/ |
| Connection string | The connection string from step 4, which contains the account credentials. | DefaultEndpointsProtocol=https;AccountName=... |
Then choose a sync interval and create the source.
After the source is created, its details show the storage account's Account endpoint. When you rotate the credentials later, the new connection string must be for the same storage account.
Troubleshooting
- The connection test fails: check the connection string and the account's network rules. An account that resolves to a private IP address, such as one behind a private endpoint, is rejected.
- No objects were read: check the container name and the prefix.