Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

This article describes the improvements and issues that are fixed in the Azure File Sync Agent v15 release that is dated March 2022. Additionally, this article contains installation instructions for this release.

Improvements and issues that are fixed

Reduced transactions when cloud change enumeration job runs

Azure File Sync has a cloud change enumeration job that runs every 24 hours to detect changes made directly in the Azure file share and sync those changes to servers in your sync groups. In the v14 release, we made improvements to reduce the number of transactions when this job runs and in the v15 release we made further improvements. The transaction cost is also more predictable, each job will now produce 1 List transaction per directory, per day.

View Cloud Tiering status for a server endpoint or volume

The Get-StorageSyncCloudTieringStatus cmdlet will show cloud tiering status for a specific server endpoint or for a specific volume (depending on path specified). The cmdlet will show current policies, current distribution of tiered vs. fully downloaded data, and last tiering session statistics if the server endpoint path is specified. If the volume path is specified, it will show the effective volume free space policy, the server endpoints located on that volume, and whether these server endpoints have cloud tiering enabled.

To get the cloud tiering status for a server endpoint or volume, run the following PowerShell commands:

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

Get-StorageSyncCloudTieringStatus -Path <server endpoint path or volume>

New diagnostic and troubleshooting tool

The Debug-StorageSyncServer cmdlet will diagnose common issues like certificate misconfiguration and incorrect server time. Also, we have simplified Azure Files Sync troubleshooting by merging the functionality of some of existing scripts and cmdlets (AFSDiag.ps1, FileSyncErrorsReport.ps1, Test-StorageSyncNetworkConnectivity) into the Debug-StorageSyncServer cmdlet.

To run diagnostics on the server, run the following PowerShell commands:

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

Debug-StorageSyncServer -Diagnose

To test network connectivity on the server, run the following PowerShell commands:

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

Debug-StorageSyncServer -TestNetworkConnectivity

To identify files that are failing to sync on the server, run the following PowerShell commands:

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

Debug-StorageSyncServer -FileSyncErrorsReport

To collect logs and traces on the server, run the following PowerShell commands:

Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"

Debug-StorageSyncServer -AFSDiag -OutputDirectory C:\output -KernelModeTraceLevel Verbose -UserModeTraceLevel Verbose

Miscellaneous improvements

Reliability and telemetry improvements for cloud tiering and sync.

More information about the Azure File Sync Agent v15 release

  • This release is available for Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, and Windows Server 2022 installations.

  • A restart is required for servers that have an existing Azure File Sync agent installation if the agent version is less than version 12.0.

  • The agent version for this release is 15.0.0.0.

How to obtain and install the Azure File Sync Agent 

The Azure File Sync agent is available from Microsoft Update, Microsoft Update Catalog, and Microsoft Download Center.

Notes

  • If the Azure File Sync agent is not currently installed on a server, use the agent installation package on the Microsoft Download Center. The agent installation package on Microsoft Update and Microsoft Update Catalog is intended for agent upgrades only.

  • To update existing agent installations, run AfsUpdater.exe (located in the agent installation directory) or download and install the update from Microsoft Update or Microsoft Update Catalog.

Microsoft Update

To obtain and install from Microsoft Update, follow these steps on a server that has Azure File Sync agent installed:

Server 2016 and Server 2019

  1. Click Start, and then click Settings.

  2. In Settings, click Update & security.

  3. In the Windows Update window, click Check online for updates from Microsoft Update.

  4. Verify the Azure File Sync agent update is listed and then click Install now.

Server 2012 R2

  1. Click Start, and then click Control Panel.

  2. In Control Panel, double-click Windows Update.

  3. In the Windows Update window, click Check for updates.

  4. Click Important updates are available.

  5. Verify the Azure File Sync agent update is selected, and then click Install.

Microsoft Update Catalog

Go to the following website to manually download this update from the Microsoft Update Catalog:

Azure File Sync Agent v15 release: March 2022 (KB5003882)

To manually install the update package, run the following command from an elevated command prompt:

msiexec.exe /p packagename.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB5003882.log

For example, to install the Azure File Sync agent update for Server 2016, run the following command:

msiexec.exe /p StorageSyncAgent_WS2016_KB5003882.msp REINSTALLMODE=OMUS REINSTALL=StorageSyncAgent,StorageSyncAgentAzureFileSync,StorageSyncAgentGuardFilter,StorageSyncAgentUpdater /qb /l*v KB5003882.log

Microsoft Download Center

Go to the Microsoft Download Center to manually download the agent installation package for new agent installations.

How to perform a silent installation for a new agent installation

To perform a silent installation for a new agent installation that uses the default settings, run the following command at an elevated command prompt:

msiexec /i packagename.msi /qb /l*v AFSv15Installation.log

For example, to install the Azure File Sync agent for Windows Server 2016, run the following command:

msiexec /i StorageSyncAgent_WS2016.msi /qb /l*v AFSv15Installation.log

Notes

  • Use the /qb switch to display restart prompts (if required), agent update, and server registration screens. To suppress the screens and automatically restart the server (if required), use the /qn switch.

  • To perform a silent installation with custom settings, follow the steps documented in KB4459986.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×