Skip to content

Commit 13dc378

Browse files
authored
Merge pull request #8824 from rladbsal/patch-2
Update file-sync-troubleshoot-installation.md
2 parents 01cf3fe + 40d2072 commit 13dc378

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,38 @@ When registering a server using *ServerRegistration.exe*, some resource groups a
175175

176176
This issue occurs due to a known issue that has been fixed in File Sync Agent v19.1. To resolve this issue, install the latest version of the agent.
177177

178+
179+
180+
**Server Registration displays the following message: "System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=..."**
181+
182+
This error occurs when the required version of the .NET Framework is missing on the server. Azure File Sync's server registration requires **.NET Framework 4.7.2. or higher** to function properly.
183+
184+
To resolve the issue:
185+
1. Downland and install .NET Framework 4.7.2. or higher.
186+
2. Restart the server after installation.
187+
3. Retry the server registration using the Server Registration UI or PowerShell.
188+
189+
190+
191+
**Server registration fails with error: operation returned an invalid status code 'Unauthorized'**
192+
193+
During server registration, if you encounter the following error:
194+
`Operation returned an invalid status code 'Unauthorized'`
195+
196+
This issue occurs when authentication with Azure fails during the registration process. To resolve this issue:
197+
198+
Manually register the server using PowerShell:
199+
200+
```powershell
201+
Connect-AzAccount -Subscription "<your-subscription-guid>" -Tenant "<your-tenant-guid>"
202+
Register-AzStorageSyncServer -ResourceGroupName "<your-resource-group-name>" -StorageSyncServiceName "<your-storage-sync-service-name>"
203+
```
204+
205+
Replace the placeholder values with your subscription ID, tenant ID, resource group name, and Storage Sync Service name.
206+
207+
After completing the manual registration, verify that the server appears under Registered servers in the Azure portal.
208+
209+
178210
<a id="server-already-registered"></a>**Server Registration displays the following message: "This server is already registered"**
179211

180212
:::image type="content" source="media/file-sync-troubleshoot-installation/server-already-registered-error.png" alt-text="Screenshot that shows the Server Registration dialog box with the 'server is already registered' error message.":::

0 commit comments

Comments
 (0)