Cloud, DevOps & Cloud Solutions


Since Azure Files became generally available, we’ve consistently heard from our customers that they want to embrace the power and flexibility of the cloud without giving up the locality of their on-premises file server. Today, we are excited to announce the preview of a great new feature in Azure Files that enables you to get the best of both the cloud and on-premises worlds: Azure File Sync.

Since Azure File Sync is a multi-master sync solution, it makes it easy to solve global access problems introduced by having a single point of access on-premises, or in Azure by replicating data between Azure File shares and servers anywhere in the world. With Azure File Sync, we’ve introduced a very simple concept, the Sync Group, to help you manage the locations that should be kept in sync with each other. Every Sync Group has one cloud endpoint, which represents an Azure File share, and one or more server endpoints, which represents a path on a Windows Server. That’s it! Everything within a Sync Group will be automatically kept in sync!

Azure File Sync also helps you leverage Azure to get control over your on-premises data. Since cloud tiering moves old and infrequently accessed files to Azure, it effectively helps you make unpredictable storage growth predictable. When disasters strike, Azure File Sync can help. Simply set up a new Windows Server, install Azure File Sync, and the namespace is nearly instantly synced down as your cache is rebuilt.


  1. Two Servers namely CD1 and CD2 and one more server (named Push here) for pushing data to both the servers in the same resource group
  2. Create a storage account with a unique account and LRS within the same resource group as the VM’s
  3. After creation of the storage, account go inside the smb file share and create one.
  4. Go to Azure file sync.
  5. Give a unique name and stick it in the same resource group.
  6. Put agents in the servers
  7. Go to the resource group and find the sync-test.
  8. Register the servers here.(follow pre-requisites after this step)
  9. Download and Run the Sync Agent.
  10. Once installed azure file sync server registration will pop up
  11. Log In using the azure account.
  12. Select the same resource group and select sync-test under storage sync option.
  13. Once done the server will be registered.
  14. Create a sync group and select the storage account that was created. This is our cloud endpoint.
  15. Create a server endpoint and specify the path” < path >”.
  16. Repeat the process from process 8 for the other servers.


Pre-requisites for the servers:

  1. The server named push shall receive data after the build is done.
  2. Go to server manager , go to Local Server and turn off the IE Enhanced Security Configuration “OFF”.
  3. Get into the Powershell ISE and run it as an administrator.
  4. Run the azure command “install-module azurerm” and select yes on the nuget prompt.

About The Author

Leave a Reply