Azure File Sync service keep crashing on WIndows Server 2022 after endpoint creation

FABI Varese 0 Reputation points
2024-01-05T16:37:09.4233333+00:00

Hello.
I'm having a problem creating an Azure File Sync endpoint on my Windows Server 2022 server.
I instlled the agent and registered the server, all works well.
I peformed all the troubleshooting in the Microsoft's official guide, including running diagnostic tests, and all pass.
When I try to createa Server Endpoint in my SYn Group, the proces on my machine crashes and continue to reload when the provisioning is in "Enabling Sync" stage.

What can I do?
I'll send to you the logs.

Thank youMicrosoft-FileSync-Agent_Telemetry.txt.


TimeCreated            Id LevelDisplayName ProviderName                     Message                                    
-----------            -- ---------------- ------------                     -------                                    
05/01/2024 17:09:08  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 21         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.                       
05/01/2024 17:08:57  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 20         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.                       
05/01/2024 17:08:43  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 19         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.                       
05/01/2024 17:08:29  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 18         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.                       
05/01/2024 17:08:16  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 17         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.                       
05/01/2024 17:08:04  7031 Error            Service Control Manager          The Storage Sync Agent service terminated  
                                                                            unexpectedly.  It has done this 16         
                                                                            time(s).  The following corrective action  
                                                                            will be taken in 1000 milliseconds:        
                                                                            Restart the service.   

   
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,424 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,539 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,777 Reputation points Microsoft Employee Moderator
    2024-01-08T15:34:20.5733333+00:00

    @FABI Varese Thanks for posting your query on Microsoft Q&A.

    Can you please check and ensure that the pre-requisites are met. To create a server endpoint, you must first ensure that the following criteria are met:

    • The server has the Azure File Sync agent installed and has been registered. See Register/unregister a server with Azure File Sync for details on installing the Azure File Sync Agent.
    • Ensure that a Storage Sync Service has been deployed. See How to deploy Azure File Sync for details on how to deploy a Storage Sync Service.
    • Ensure that a sync group has been deployed. Learn how to Create a sync group.
    • Ensure that the server is connected to the internet and that Azure is accessible. Azure File Sync uses port 443 for all communication between the server and cloud service.

    Server endpoint health is in a pending state for several hours

    This issue is expected if you create a cloud endpoint and use an Azure file share that contains data. The cloud change enumeration job that scans for changes in the Azure file share must complete before files can sync between the cloud and server endpoints. The time to complete the job is dependent on the size of the namespace in the Azure file share. The server endpoint health should update once the change enumeration job completes.

    To check the status of the cloud change enumeration job, go the Cloud Endpoint properties in the portal and the status is provided in the Change Enumeration section.

    Let me know if this helps.

    0 comments No comments

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.