# How to enable auto-sync on Azure Blob

Step-by-step guide to enable auto-sync with CloudFiles on Azure Blob storage using Azure Event Grid subscriptions.

> Kind: FAQ · Updated: Jul 4, 2026

Follow these steps to enable auto-sync with CloudFiles on your Azure Blob storage:

### Step 1: Navigate to Azure Storage Account

- Log into your Azure Portal.
- Locate and select your Storage Account from the dashboard or resource groups.

### Step 2: Access Events

- On your storage account overview page, click Events in the left sidebar.

### Step 3: Create an Event Subscription

- Click on + Event subscription.
- Provide a meaningful name, e.g., CloudFilesWebhook.
- Select Event Grid Schema from the dropdown under Event Schema.
- Under Topic Details, ensure your storage account details are correctly filled.

### Step 4: Configure Event Types

- Under Event Types, select:
- Blob Created
- Blob Deleted

### Step 5: Setup Endpoint

- In the Endpoint details, choose Web Hook.
- Configure the endpoint URL as:

```text
https://api.cloudfiles.io/webhooks/azure-event-grid/blob
```

### Step 6: Delivery Properties

- In the Delivery properties, click Add new header.
- Add the following details:
- Header Name: x-webhook-secret
- Type: Static
- Value: Copy this value from your CloudFiles App in Salesforce (See screenshot below)
- Secret: Set to True (check the box)

![](https://media.help.cloudfiles.io/faq-how-to-enable-auto-sync-on-azure-blob-sf/01.png)

### Step 7: Configure Retry Policies

- Navigate to the Additional Features tab.
- Under Retry Policies, set:
- Max Event Delivery Attempts: 30
- Event Time to Live: 1 day, 0 hours, 0 minutes, and 0 seconds

### Step 8: Enable Subject Filtering

- Under Filters, enable Subject Filtering.
- Add a filter to ensure only events from the relevant container are synced.
- Example filter format: /blobServices/default/containers/<YourContainerName&gt;/

### Step 9: Finalize

- Review all configurations.
- Click Create to finalize your subscription.

Your Azure Blob storage is now set up for auto-sync with CloudFiles!
