Prerequisites:

  • A Microsoft Azure account.
  • Working knowledge of creating a file share in Azure. If not check one of my previous articles here.
  • On-premises File server running Windows Server 2012 or above.

The Azure file sync service enables you to extend the capabilities of your on-premises file servers by creating cloud distribution endpoints which act as file servers in Azure in turn giving you more storage and disaster recovery options.

To get started, we create an Azure file sync resource.

There after, we create a sync group. A sync group defines the on-premises file server endpoints that we will use to sync files with the cloud endpoints.

When we are done creating a sync group, we head over to our on-premises file server and install the Azure file sync agent. The agent can be downloaded from the link below.

https://www.microsoft.com/en-us/download/details.aspx?id=57159

You also need to make sure that you have disabled "Internet Explorer Enhanced Security configuration". One quick way of doing this is through the server manager as shown below.

We then register our on-premises file server using the Azure file sync agent. If you closed the file sync agent by accident, you can still find it under this location and re-run it. "C:\Program Files\Azure\StorageSyncAgent\ServerRegistration"

Back in our Azure portal, we then associate a server end point with our sync group and add a path to our on-premises file shares then finally create the endpoint.

In the end, our file-sync group will appear as seen below meaning there's sync connection between our file servers on-premises and in Azure.