Azure File Sync

Azure File Sync

Azure File Sync

Files are an important resource in a company. For workstations rarely connected to the local network, these files are stored locally.
It is therefore important to ensure that these files are synchronized on an enterprise server or in the cloud. All protocols offered by Windows Server (SMB, NFS et FTPS) are available in Azure File Sync.


Several prerequisites are necessary to set up Azure File Sync :

  • Create Azure storage account
  • Create a file share in Azure
  • have a Windows Server instance

Before implementing the solution, it’s important to check the availability of the functionality.
Availability Azure File Sync

Create account storage

From the Azure portal (, click on All services then Storage account.

Create Azure account

A new window appears, click on Add.

Azure File Sync

Enter the name of the storage account, if valid select the Azure region. Then select the desired redundancy. Create or select ressource groups and click to Create button.

Storage account

Create file sharing

Azure file sharing requires the prior creation of a storage account. From the Azure portal, click on All Resources then on the storage account previously created.

Azure File Sync

In the center panel, click Files.

Azure File Sync

Click File Share in the center panel.

Add File share

Enter the name of the share and the quota in GB.

Azure File Sync enter the name

Sharing is now created

Deployment of Azure File Sync

In order to be able to deploy Azure File Sync, it is necessary to perform some operations in the Azure portal. From the Azure portal, click Create a ressource and then search azure File Sync. Click Create on the central panel.

Create file share

Enter the desired name and the resource group to be used. Click to Create for lauch creation

Enter information

Azure File Sync is now correctly configured.

Configuration is ok

Click to Getting started to see the operations to be performed.

Azure File Sync

Register your servers

You need install Windows Management Framework 5.1 and AzureRM PowerShell on the server where agent will be installed. You can download Windows Management Framework 5.1 on this web page.
When it’s installed, you can execute the command PowerShell for install AZureRM PowerShell Module.

  • Install-Module PowerShellGet -Force
  • Install-Module -Name AzureRM -AllowClobber

Run powershell command

In the Getting Started, click to the Download the sync agent link for download the agent.

Azure File Sync download agent

Launch the agent file on the server then in the welcome window, click Next.

Install agent

Validate the following windows then proceed to install the agent.

Installation is in progress

Click Finish at the end of the installation. A window appears to verify that the agent is up to date.

Azure File Sync

Click Sign in to register the server. Enter the Azure identifiers in the window that appears.

Azure File Sync Enter information on agent

Use the drop-down lists to select Azure Subscription, Resource Group and Storage Sync Service. Click to Register to validate operation.

Azure File Sync select platform

Create a synchronization group

From the Azure portal, click on All Resources then on the File sync service previously created.

Azure File Sync created

In the center panel, click Sync group.

Azure File Sync group

Enter the name of the storage group and select the storage account. From the drop-down list, select Azure file sharing. Click to create to lauch creation

Select storage account

Click on the previously created Sync group. An endpoints server must be added. To do this click on Add server Endpoint in the central panel. Select the desired server Registered then in the Path field enter the path of the directory containing the data. Click to create to lauch creation.

Add server endpoint

onfigure file sync

Files and folders in the directory are replicated in Azure. Depending on the quantity of Data, this operation can be more or less long. If you return to the created share, the files are present.

Azure File Sync

Click Connect for instructions to connecting a network drive.

Connect network drive

Azure File Sync

you can run the command to connect the network drive

Powershell has been executed

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.