Share via

Sync SPSE documentlibraries with Onedrive problem

Micke Lindholm 20 Reputation points
2026-03-05T15:49:54.12+00:00

Hi,

I have problem getting Onedrive sync to work with my on prem Sharepoint Subscription Edition.

I have a hybrid OneDrive setup, one account in OD is m365.
Added the need keys in registry for onprem sync
HKLM:\Software\Policies\Microsoft\OneDrive\SharePointOnPremFrontDoorUrl my webappsite
HKLM:\Software\Policies\Microsoft\OneDrive\SharePointOnPremPrioritization set to 1
HKLM:\Software\Policies\Microsoft\OneDrive\SharePointOnPremTenantName set to SPSE
HKLM:\Software\Policies\Microsoft\OneDrive\SilentAccountConfig set to 1
I also use AllowTenantlist with a entry OP1 for onprem site.

This is what happens:

I click sync on a documentlibrary and first dialog shows with correct account prefilled and i click Logon.
Next dialog shows correct my selected syncpath, shows correctly this is your SPSE-folder, i click on next.

Dialog displays "Sorry, OneDrive can't add your folder rigth now", contact support.

The account isnt added to OneDriveand no entry in OneDrivefolder in explorer.
No error in eventlog.

There must be some settings that forbids creating account or explorer entry. I also see that i have Business2 entry in reg hiv with correct ino but no mounting point entries

I have the same setup in my own dev hyperv-farm and it works flawless

Could there be a log that i havent found yet that holds info about whats happening?

Regards,

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments

Answer accepted by question author

  1. Teddie-D 15,455 Reputation points Microsoft External Staff Moderator
    2026-03-06T00:56:35.1566667+00:00

    Hi @Micke Lindholm 

    Thank you for posting your question in the Microsoft Q&A forum. 

    When the OneDrive sync client fails to mount a SharePoint Server (on‑prem) library, you may see the error “Sorry, OneDrive can’t add your folder right now.”. This often occurs before the library mount point is created, which explains why you may see a Business2 registry hive but no corresponding mount points or Explorer folder.  

     1. Check the OneDrive client logs  

    The OneDrive client writes detailed logs here: 

    -%localappdata%\Microsoft\OneDrive\logs\Business1

    -%localappdata%\Microsoft\OneDrive\logs\Business2 

    -%localappdata%\Microsoft\OneDrive\logs\Personal 

    Key files to review: 

    -SyncDiagnostics.log 

    -ClientTelemetry*.log 

    -ODOpenFolder*.log 

    A quick way to collect everything is: %localappdata%\Microsoft\OneDrive\OneDrive.exe /getlogs. This generates a zip with all logs on the desktop. 

    Search inside the logs for keywords such as: 

    -AddMount 

    -MountPoint 

    -Tenant 

    -SPSE 

    -FrontDoor 

    2.Verify the SharePoint on-prem URL format  

    The registry key must contain the base web application URL, not a site collection. 

    Example:
    -Correct: HKLM\Software\Policies\Microsoft\OneDrive\SharePointOnPremFrontDoorUrl = https://portal.contoso.com 

    -Incorrect: https://portal.contoso.com/sites/hr 

    If the value does not match the root web application URL used to access SharePoint (including protocol, host header, and port), the OneDrive client may fail to create the mount. 

    Reference: Configure syncing with the new OneDrive sync app - SharePoint Server | Microsoft Learn

    3.Library-level restrictions 

    The OneDrive sync engine enforces the same rules for SharePoint Server as it does for SharePoint Online.  Settings such as Require Check Out, required columns, Draft Item Security, or Content Approval can cause this error and prevent the folder from being mounted. 

    Reference: OneDrive sync error Sorry, OneDrive can’t add your folder right now - SharePoint | Microsoft Learn

    4.Credential Manager conflicts 

    -In hybrid environments, stale credentials can sometimes interfere with the mount phase. 

    -You can check Control Panel > Credential Manager > Windows Credentials and remove outdated OneDrive or old SharePoint URL entries. 

    -After removing them, restart the OneDrive client and try the sync again. 

    I hope this helps. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-05T15:50:07.1866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message “Sorry, OneDrive can’t add your folder right now” when syncing a SharePoint document library is typically caused by library or account configuration, not by the OneDrive client itself.

    Based on the documented causes, check the following on the affected SPSE document library:

    1. Require Check Out must be disabled
      1. In the library (Classic view), select the Settings (gear) icon and enable the Ribbon if needed.
      2. Select the Library tab.
      3. Select Library SettingsVersioning Settings.
      4. Set Require Check Out to No.
    2. Remove any required columns
      1. In Library Settings, review all columns.
      2. For each column that shows a check mark under Required, edit it.
      3. Change Require this column to contain information to No.
    3. Draft Item Security must allow readers
      1. In Library Settings, select Versioning Settings.
      2. Under Draft Item Security, set it to Any user who can read items.
    4. Use an internal (non-guest) account for sync Syncing with a guest or external account is not supported. Ensure the account used in OneDrive is internal to the organization and mapped correctly to the on-premises SPSE environment.
    5. Confirm the library is allowed to sync offline For the site and library, verify Offline Client Availability is set to Yes:
      • Site: SettingsSite SettingsSearch and Offline AvailabilityOffline Client Availability = Yes.
      • Library: Library SettingsAdvanced SettingsOffline Client Availability = Yes.

    If the same configuration works in a dev farm but not in production, compare these specific library and site settings between the two farms, as well as whether any required metadata or draft security settings differ.

    For additional diagnostics, also confirm that the OneDrive sync client is updated and that the on-prem registry keys (such as SharePointOnPremFrontDoorUrl) match the production SPSE URL exactly.


    References:

    Was this answer helpful?

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.