2 different servers have same folder structure and file sync wont create endpoint

BH 20 Reputation points
2026-06-23T18:00:58.5766667+00:00

i have 2 file servers that are setup with same root folders. i need to enable file sync on both. the second endpoint creation fails because another not related server has the same folder path.

Azure Files
Azure Files

An Azure service that offers file shares in the cloud.


1 answer

Sort by: Most helpful
  1. Alex Burlachenko 23,170 Reputation points MVP Volunteer Moderator
    2026-06-25T11:38:58.38+00:00

    hi BH & thx for sharing urs issue here at Q&A portal,

    That’s expected behavior in Azure File Sync. A server endpoint path can’t overlap with another server endpoint path in the same sync group, even if it’s on a totally different server.

    Azure File Sync treats the server endpoint namespace as one sync topology. So if Server A already has D:\Data

    as an endpoint, Server B can’t add the same path as another endpoint in that same sync group. It prevents two independent server copies from both acting like the source for the same root. Otherwise sync conflicts would get ugly fast.

    If both servers need to sync the same data, create the endpoint on Server B using a different local path, for example

    D:\Data-Replica It can still sync to the same Azure file share/cloud endpoint. The local folder names don’t need to match.

    If Server B already has data in its existing D:\Data folder, don’t just point a new empty folder at it and copy stuff around blindly. Compare the data first and decide which server is the source of truth. Azure File Sync initial sync can create conflicts if both sides already contain different files.

    Another option is separate sync groups/cloud endpoints if these are actually separate datasets and only happen to use the same folder name/path.

    https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide

    https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-planning

    https://learn.microsoft.com/en-us/azure/storage/file-sync/file-sync-troubleshoot

    rgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal 
    and at my blog https://ctrlaltdel.blog/
    

    Was this answer helpful?

    0 comments No comments

Your answer

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