How to edit "change detection job"'s scheduling in Azure File Sync on-premise endpoint?

Miclaud 1 Reputation point

Hello everyone,

I have an on-premise Windows Server 2012 R2 machine where I’m caching Azure file shares using Azure File Sync.
On Azure synchronization service I enabled cloud tiering with 1 day policy (file are kept in local cache only if edited within last 24 hours)

As stated here:

To detect changes to the Azure file share, Azure File Sync has a scheduled job called a change detection job. A change detection job enumerates every file in the file share, and then compares it to the sync version for that file. When the change detection job determines that files have changed, Azure File Sync initiates a sync session. The change detection job is initiated every 24 hours.

I've noticed that this change detection job triggers as much Azure File list operations as many folders are present in my synchronized shares, probably because it lists every folder in the share looking for changes in cloud to be synced locally in the onprem endpoint.

Eg. I have an Azure File Share with about 40.000 folders, with Hot access level. Checking Azure Costs I can see that I have every day an amount of "Hot ZRS List Operations" corresponding to 40k list operations (every day at the same hour, as reported to the transaction log in the storage account metrics)

In my setup I don't need such a daily job because we do all our file operations through the Azure File Sync endpoint shares, so in order to lower the costs of the above-mentioned operations I'd like to edit the schedule of such change detection job to be launched within a longer interval (2-3 days or mabye once a week?)

Is it possible to do that in any way?

Thank you in advance.

ps. my Azure File Sync usage is limited to a test set of our files. Considering a full migration to Azure, we'd have 400k folders managed by Azure. If I'm not wrong with my analisys, an everyday change detection job would trigger 400k list operations for a total income (considering ZRS in West Europe) of at least 1300 euros only for this feature. Lowering such quote even only of a third could be a dramatic improvement in the overall costs.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
884 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,826 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SaiKishor-MSFT 16,776 Reputation points

    @Miclaud Upon checking with our PM team, today we don’t allow change in the schedule of the change detection job.

    Please reach out to me offline so one of our PMs can understand your requirements and recommend Azure File tier that optimizes the cost. You can email me at AzCommunity [at] microsoft dot com with subject: "ATTN: Sai Kishor" for the same. Thank you!

    0 comments No comments