Azure File Sync - Server Registration - Storage Sync Service Empty

Anon4343 551 Reputation points
2022-10-07T16:58:45.617+00:00

During the server registration process, I can't get the Storage Sync Service to populate. The VM, Sync Service, and Storage Account are all in the same resource group. The Sync Service and Storage Account all access from all networks. I have created a Sync Group.

If I try through PowerShell with Register-AzStorageSyncServer, I get: Register-AzStorageSyncServer : Exception of type 'Commands.StorageSync.Interop.Exceptions.ServerRegistrationException' was thrown.

If I use Get-AzStorageSyncServer, there are no results.

There are no errors in the FileSync Event log.

What could be preventing the drop down from populating after selecting the resource group?

Thank you.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,420 questions
Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,530 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2022-10-10T14:41:02.317+00:00

    @Anon4343 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    As I understand you are not able to Register the server using (PowerShell) the server registration UI as per the below image am I correct?

    249082-image.png

    • If the server registration UI did not start immediately after completing the installation of the Azure File Sync agent, it can be started manually by executing C:\Program Files\Azure\StorageSyncAgent\ServerRegistration.exe.
      1. If the Azure Sync Service ( Azure File Sync Agent) is already been registered to any VM and Cloud Endpoint point is deleted still you may face this kind of issue-> In the Azure portal, navigate to the Registered servers section of the Storage Sync Service. Right-click on the server you want to unregister and click "Unregister Server".

    249008-image.png

    Note: Unregistering a server will result in cascading deletes of all server endpoints on the server. You should only run this cmdlet when you are certain that no path on the server is to be synced anymore.

    This command registers a server to a storage sync service which creates a trust relationship. PowerShell or the Azure portal can then be used to configure sync on this server.

    Register-AzStorageSyncServer -ResourceGroupName InfraRG -StorageSyncServiceName ahda1 -Debug  
    

    Register-AzStorageSyncServer

    If the issue still persist & it's New VM you can un-install the File Sync agent and re-install the Azure File Sync agent.

    If you have any additional questions or need further clarification, please let me know.


    Please do not forget to 249092-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.