Share via

Is there a way to dismiss "Sync Conflicts" between a SPO document library and the OneDrive Sync Client?

Anonymous
2024-10-04T18:27:30+00:00

Howdy! I was hoping to get some input on a folder sync issue that some of our users are encountering between SharePoint Online and the OneDrive Sync Client.

Background:

We have a department in the process of migrating content from a network shared drive to a SharePoint Online Document Library. During this migration, duplicate folder names sometimes exist in both the network share and the document library. Once the migration is complete, the "duplicate" folder in SharePoint is deleted, and the newly migrated folder is renamed to take its place.

Example:

  • "Folder A" already exists in both places: There’s an existing "Folder A" in SharePoint Online and also one in the network shared drive.
  • Uploading causes a name change: When the "Folder A" from the network share is uploaded to the SharePoint document library, SharePoint detects the duplicate name and renames the uploaded folder to something like "Folder A (1)" to avoid conflicts.
  • The original folder is deleted: The existing "Folder A" in SharePoint is then deleted as part of the migration process.
  • Renaming the uploaded folder: The newly uploaded "Folder A (1)" is renamed back to "Folder A" to match the original folder name.

Situation:

At this stage, we only have the single folder named "Folder A" in the document library. However, this is where the issue begins. Occasionally, due to sync conflicts (we think), additional folders are automatically created for users who have access to the document library and have used the "Add a shortcut to OneDrive" option. When this happens, folders like "Folder A - ComputerHostname" appear in the document library, creating confusion and clutter. We assume our users are being presented a message similar to this when those "Sync Conflicts" occur.

Question:

I was able to capture ethe image above for a sync conflict with an individual file, so I am not sure if this is the exact message they would get due to the folder conflict. In either case, is there a way that they can just "dismiss" or "reject" the sync conflict? In 100% of cases, we only want to keep the "Folder A" that is currently in SharePoint. We never want to keep both folders, and we never want to merge folders.

Thanks,

Chris

Microsoft 365 and Office | OneDrive | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-09T04:54:15+00:00

    Dear Chris,

    Thanks for your updates.

    Thanks for your updates and kindness.

    The conflict popup notifies users that the OneDrive sync client can't sync the changes automatically as there is a sync issue. Generally, users need to select Open in Office to merge changes to open the files to manually merge the changes. So it should be an issue. Normally, the OneDrive sync client should sync the changes automatically.

    Removing the cache like what I mentioned above may be helpful when some sync issues happened. I suggest you try creating a script to remove the cache automatically to fix the issue when it happened.

    Welcome to share any updates at your convenience.

    Your effort and time are greatly appreciated!

    Sincerely

    Cliff | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-08T19:46:11+00:00

    Dear Chris,

    The issue at the user side may be caused by the corrupted cache at the OneDrive sync client side. Removing OneDrive Cached Credentials from the user side may fix the issue in their environments.

    Duplicate files in OneDrive - Microsoft Support

    You can first try Easy Fix mentioned in Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows - Microsoft Support and then create a script like the following to run the removing cache process each day automatically to see whether the conflict issue can go away in your environments.

    cmdkey /delete:"OneDrive Cached Credential

    %LOCALAPPDATA%\Microsoft\OneDrive\Onedrive.exe /shutdown

    start %localappdata%\Microsoft\OneDrive\onedrive.exe

    Your effort and time are greatly appreciated!

    Sincerely

    Cliff | Microsoft Community Moderator

    Thanks for the info, I had not seen that article you shared. I will have our users gives that a try asap. I was also going to suggest the following, do these seems like they would be helpful suggestions?

    Before file migrations ->

    • Pause OneDrive Sync Client. Only resume after content migration from network shared drive to SharePoint document library is completed.

    After file migrations ->

    • If possible, when prompted about sync conflicts select the option to "Discard" the local content. The caveat here is I am not sure if there is actually a "discard" option, as I have not seen that myself, but some other posts seem to suggest it is an option for "some" sync conflicts.

    Additional options ->

    • Your suggestion of "Removing OneDrive Cached Credentials"
    • Resetting OneDrive Sync Client app via Run app using"%localappdata%\Microsoft\OneDrive\onedrive.exe /reset"

    Thanks again for the help!

    Chris

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-10-05T03:37:11+00:00

    Dear Chris,

    The issue at the user side may be caused by the corrupted cache at the OneDrive sync client side. Removing OneDrive Cached Credentials from the user side may fix the issue in their environments.

    Duplicate files in OneDrive - Microsoft Support

    You can first try Easy Fix mentioned in Update to enable TLS 1.1 and TLS 1.2 as default secure protocols in WinHTTP in Windows - Microsoft Support and then create a script like the following to run the removing cache process each day automatically to see whether the conflict issue can go away in your environments.

    cmdkey /delete:"OneDrive Cached Credential

    %LOCALAPPDATA%\Microsoft\OneDrive\Onedrive.exe /shutdown

    start %localappdata%\Microsoft\OneDrive\onedrive.exe

    Your effort and time are greatly appreciated!

    Sincerely

    Cliff | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments