Azure Blob Storage
Archive SAP documents to Azure Blob Storage containers. Entra ID recommended; connection string as the simpler alternative. Supports tiered storage.
Use Cases
- SAP on Azure document archival
- Tiered storage with Hot, Cool, and Archive tiers
- Compliance-ready storage with immutability policies
Archive SAP documents to Azure Blob Storage. FileRelay works with all Azure storage tiers, making it a natural fit for SAP-on-Azure environments.
Validated against a real storage account with both Entra ID and connection string auth, including native blob metadata properties.
Choose authentication
| Option | When to use |
|---|---|
| Entra ID (recommended) | Production. Short-lived tokens, RBAC roles, no shared keys. |
| Connection string (simpler) | Testing or simple setups. One long-lived value, no expiry to manage. |
Setup — storage account and container
- In the Azure Portal, go to Storage accounts and select (or create) your storage account. Note the account name.
- Go to Data storage > Containers → + Container (e.g.
sap-documents). The container must exist — FileRelay never auto-creates it.
Setup — Entra ID (recommended)
- Go to Microsoft Entra ID > App registrations → New registration (e.g. "FileRelay Blob"). Note the Application (client) ID and Directory (tenant) ID from the Overview page.
- Go to Certificates & secrets → New client secret, copy the value immediately (you cannot see it again).
- Back on the storage account, go to Access control (IAM) → Add → Add role assignment:
- Role: Storage Blob Data Contributor (least privilege for read/write; use Reader + Writer split if your policy requires it)
- Assign access to: User, group, or service principal → select your "FileRelay Blob" app → Review + assign.
- Role propagation takes a few minutes. If the first test fails with 403, wait and retry.
Setup — connection string (simpler)
- On the storage account, go to Security + networking > Access keys → Show → copy a Connection string.
- Treat it as a password: anyone holding it has full account access. Rotate via the second key when needed.
Configure FileRelay
- Add an Azure Blob Storage destination: account name, container name, optional path prefix.
- Pick Entra ID (tenant + client + secret) or Connection String and paste the values.
- Click Test — FileRelay reads the container properties and writes + deletes a probe blob, proving the credentials can deliver. Only a passing test lets you save.
REPLACE: Screenshot of the Azure Blob Storage connector configuration form in FileRelay
How It Works
FileRelay authenticates with Azure Blob Storage using the provided credentials and uploads documents as block blobs. The container must already exist — FileRelay does not auto-create containers. Subfolders are represented as virtual directories using blob name prefixes (Azure Blob Storage has a flat namespace).
For files larger than 256MB, FileRelay automatically stages the upload in blocks for reliable delivery.
Path Structure
Documents are stored with the following blob name pattern:
{prefix}/{subfolder}/{doc_id}.{ext}
- prefix — configured base path (e.g.
sap-documents/) - subfolder — automatic subfolder based on routing rules
- doc_id — the SAP document ID
- ext — file extension based on MIME type
Example: sap-documents/2026-04/4500012345.pdf
Enriched metadata
Enrichment key-values ride on the blob as native properties automatically — no configuration needed.
Destinations created earlier with an account key or SAS token keep working. Re-saving one in the wizard migrates it to Entra ID or connection string.
Troubleshooting
| Symptom | Cause / fix |
|---|---|
| 403 on Test | Missing RBAC role, or role not yet propagated — wait a few minutes and retry. |
| 404 on Test | Container name misspelt or in another account. |
| Auth errors after months of working | Expired client secret (check the app registration expiry) — create a new secret and update the destination. |
Storage Tiers
Azure Blob Storage supports multiple access tiers. FileRelay uploads to the Hot tier by default (the container's default tier). Use Azure lifecycle management rules to transition older documents to cheaper tiers automatically:
| Tier | Use Case | Access Latency | Cost (per GB/month) |
|---|---|---|---|
| Hot | Frequently accessed documents | Milliseconds | Highest |
| Cool | Infrequently accessed (30+ days) | Milliseconds | ~50% less |
| Cold | Rarely accessed (90+ days) | Milliseconds | ~70% less |
| Archive | Long-term retention only | Hours (rehydration) | ~90% less |
Configure lifecycle rules in Storage account > Data management > Lifecycle management.
Tips
- SAP on Azure — If your SAP system runs on Azure, place the storage account in the same region to minimize latency and eliminate egress charges for intra-region traffic.
- Immutability policies — For compliance, enable immutability policies (WORM storage) on the container. FileRelay writes are compatible with write-once policies.
- Private endpoints — For network-isolated environments, configure a private endpoint for the storage account. Ensure the FileRelay connector (or on-premise agent) can resolve and reach the private endpoint.
- Container must exist — FileRelay does not auto-create containers. Create the container in the Azure Portal before configuring the destination.
- Redundancy — Choose the appropriate redundancy level based on your requirements: LRS (single region), ZRS (zone-redundant), GRS (geo-redundant), or RA-GRS (read-access geo-redundant).
- Soft delete — Enable soft delete on the container to protect against accidental overwrites or deletions. Deleted blobs are retained for a configurable period.
- Monitoring — Enable Azure Storage diagnostics to monitor upload activity, track errors, and set alerts for failed writes.
Configuration Fields
| Field | Type | Required | Description |
|---|---|---|---|
| account_name | string | Required | Azure Storage account name |
| container | string | Required | Blob container name |
| prefix | string | Optional | Path prefix for stored blobs |
Credentials
| Field | Type | Required | Description |
|---|---|---|---|
| tenant_id | string | Optional | Entra tenant ID (recommended; use with client_id + client_secret) |
| client_id | string | Optional | Entra app (client) ID |
| client_secret | string | Optional | Entra app client secret |
| connection_string | string | Optional | Full connection string (simpler alternative to Entra ID; also accepts account_key / sas_token via API) |
All credentials are encrypted at rest using envelope encryption.
Ready to set up Azure Blob Storage?
Create a free account and add this connector in under 2 minutes.