Synchronize Files Across Servers with Azure File Sync

Lab Steps

Logging into the Microsoft Azure Portal
Creating a Storage Sync Service
Creating a File Share in Azure Files
Creating a Sync Group
Connecting to the Virtual Machine (RDP)
Installing the File Sync Agent and Registering the Windows VM
Creating a Server Endpoint in the Sync Group
Testing the Sync Group with One Server Endpoint
Testing the Sync Group with Two Server Endpoints

The hands-on lab is part of this learning path

AZ-103 Exam Preparation: Microsoft Azure Administrator
course-steps 15 certification 6 lab-steps 9

Ready for the real environment experience?

Time Limit1h 45m
star star star star-half star-border


Azure File Sync centralizes your company's file shares in Azure Files. Azure File Sync transforms Windows Servers running on-premises or in the cloud into a quick cache of your Azure file share. When you choose Azure File Sync, you do not need to sacrifice the flexibility, performance, or compatibility of an on-premises file server. Any protocol supported by Windows Server, including SMB, NFS, and FTPS, can be used to access the data locally.

In this Lab, you will create an Azure File Sync sync topology consisting of two Windows Server 2016 VMs running in Azure. You will then try out the synchronization and cloud tiering capabilities of Azure File Sync to better understand how the service works.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Explain when to use and when not to use Azure File Sync
  • Create and test a mutli-server sync group in Azure File Sync
  • Understand cloud tiering and how it can improve file sharing performance and save costs
  • Understand the fast disaster recovery feature of Azure File Sync

Lab Prerequisites

You should be familiar with:

  • Basic Azure compute and storage services, particularly VMs and storage accounts

The following Cloud Academy content can be used to meet the Lab's prerequisites:


January 14th, 2020 - Updated lab startup resources to avoid unsupported regions

November 15th, 2019 - Changed lab region to South Central US to avoid an issue that prevented completion of the lab in West US

June 26th, 2019 - Updated instructions for creating the Storage Sync Service to match the latest Portal experience

May 7th, 2019 - Added instructions to workaround an Azure bug that causes the create cloud endpoint permission check to fail despite the student user having the required permissions

Environment before
Environment after

About the Author

Learning paths12

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.