Skip to content

Commit 6bedd99

Browse files
authored
Update file-sync-troubleshoot.md
auto update info
1 parent 0dde976 commit 6bedd99

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

support/azure/azure-storage/files/file-sync/file-sync-troubleshoot.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,26 @@ To resolve this issue, verify your Windows Server has the following updates inst
116116
- Windows Server 2016 [Microsoft Update Catalog](https://catalog.update.microsoft.com/Search.aspx?q=cumulative%20windows%20server%202016) (latest cumulative update)
117117
- Windows Server 2019 [Microsoft Update Catalog](https://catalog.update.microsoft.com/Search.aspx?q=cumulative%20windows%20server%202019) (latest cumulative update)
118118
- Cumulative updates are released monthly. To deploy the latest update, users can either use Windows Update or manually download it from the [Microsoft Update Catalog](https://catalog.update.microsoft.com). If installing manually, users should review the associated KB article to ensure all prerequisites are met.​ ​​If the Windows Updates aren't installed prior to installing the Azure File Sync agent, the Storage Sync Agent service (FileSyncSvc) will fail to start.
119+
120+
## Auto Update Not Upgrading ‘To Be Expired’ or Expired Azure File Sync Agent
121+
122+
If Auto Update is not upgrading your ‘to be expired’ or expired Azure File Sync agent, check if the agent expiration information is properly applied to the server. The expiration metadata is required for Auto Update to function as expected.
123+
124+
To verify whether the `AgentExpirationDate` is set, run the following command from an elevated PowerShell session:
125+
126+
```powershell
127+
Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
128+
Get-StorageSyncServer
129+
```
130+
If the AgentExpirationDate value is not set or is empty, there may be a networking issue preventing the server from receiving expiration data. To test network connectivity, run the following command:
131+
132+
```powershell
133+
Import-Module "C:\Program Files\Azure\StorageSyncAgent\StorageSync.Management.ServerCmdlets.dll"
134+
Test-StorageSyncNetworkConnectivity
135+
```
136+
If network connectivity issues are reported, manually update the agent.
137+
138+
If no connectivity issues are found and the `AgentExpirationDate` is still not set, contact Azure File Sync support for further assistance.
119139

120140
## High memory usage on the server
121141

0 commit comments

Comments
 (0)