You attempt to drag a local folder into a OneDrive shared library, but the move fails with no error message or a generic sync error. This happens because OneDrive restricts folder moves into shared libraries to prevent permission conflicts and sync corruption. This article explains why the move is blocked, how to correctly add a folder to a shared library, and what to do if you still encounter errors.
Key Takeaways: Moving Folders Into OneDrive Shared Libraries
- Shared library sync architecture: OneDrive treats shared libraries as separate sync roots; moving a folder from your personal OneDrive into a shared library is not a supported operation.
- Copy then delete method: The only safe workaround is to copy the folder into the shared library via File Explorer, verify the sync, then delete the original folder.
- Web browser upload: Uploading the folder directly to the shared library in the browser avoids local sync conflicts entirely.
Why OneDrive Blocks Folder Moves Into Shared Libraries
OneDrive for Business uses a distinct sync engine for each library you add. When you sync a shared library, OneDrive creates a separate folder under the OneDrive root, typically named after the SharePoint site. Each library has its own permission set, metadata, and file versioning rules.
When you attempt to move a folder from your personal OneDrive folder into a shared library folder, the OneDrive sync engine sees this as a cross-library operation. The move command tries to update the file pointers in two different sync databases simultaneously. This can cause the sync engine to hang, show a red X, or silently fail without moving the folder.
Windows File Explorer does not distinguish between a local folder move and a move across OneDrive sync roots. It sends the same file system command. OneDrive intercepts the operation and, because it cannot atomically update two independent sync databases, it blocks the move. The folder stays in its original location, and you may see a sync error or no feedback at all.
Correct Method: Copy the Folder Into the Shared Library
Because OneDrive does not support direct moves into shared libraries, you must use a copy-then-delete sequence. This method ensures both libraries remain consistent and no data is lost.
- Open both OneDrive folders in File Explorer
Press Win + E to open File Explorer. Navigate to your personal OneDrive folder, typically under This PC > OneDrive – YourCompany. In a second File Explorer window, open the shared library folder, which appears under the same OneDrive root with the library name, for example, OneDrive – YourCompany > Shared Documents. - Copy the folder from your personal OneDrive
Right-click the folder you want to move and select Copy. Alternatively, select the folder and press Ctrl + C. - Paste the folder into the shared library
Click inside the shared library folder window and press Ctrl + V. OneDrive will upload the folder and its contents to the shared library. A blue sync icon appears next to the folder while uploading. - Wait for sync to complete
Check the OneDrive system tray icon. It should show a green check mark. Open the shared library in your web browser and confirm the folder and all files appear. - Delete the original folder from your personal OneDrive
After you confirm the copy is successful, return to your personal OneDrive folder, right-click the original folder, and select Delete. Press Shift + Delete to bypass the Recycle Bin if you are certain the copy is complete. - Empty your OneDrive Recycle Bin
Open OneDrive in your web browser, go to Recycle Bin, and empty it. This step frees storage space and prevents accidental restoration of the original folder.
Alternative Method: Upload the Folder Via the Web Browser
If you prefer not to sync the shared library locally, you can upload the folder directly through the browser. This method avoids any local sync conflicts entirely.
- Open the shared library in your browser
Go to your SharePoint site or Teams channel, open the Documents library, and navigate to the target location. - Upload the folder
Click Upload > Folder. In the file picker, select the folder from your local computer or personal OneDrive. Do not select individual files if you want to preserve the folder structure. - Confirm the upload
Wait for the upload progress bar to finish. Open the library and verify the folder appears with all contents. - Delete the original folder locally
After the upload is verified, delete the original folder from your personal OneDrive folder using the steps in the previous method.
If OneDrive Still Has Issues After the Main Fix
The folder appears in both locations after deletion
If you delete the original folder but it reappears, OneDrive may still be syncing. Pause sync by right-clicking the OneDrive icon in the system tray and selecting Pause syncing > 2 hours. Delete the folder again, then resume sync. The folder should not come back.
Copy fails with a file name or path too long error
OneDrive and SharePoint have a 400-character path limit. If your folder structure is deep, shorten folder or file names, or move files in smaller batches. Use the web upload method, which sometimes handles long paths better.
Permission denied when pasting into the shared library
You need at least Contribute permissions in the SharePoint library to add folders. Contact your Microsoft 365 admin to request edit or contribute access. If you have access but still get an error, sign out of OneDrive and sign back in to refresh your credentials.
Copy vs Move Into Shared Library: Key Differences
| Item | Copy then Delete | Direct Move (Not Supported) |
|---|---|---|
| Sync engine behavior | Treats each library independently | Tries to update two sync databases at once, causing failure |
| Data safety | Original remains until deletion is confirmed | May lose files if move fails mid-operation |
| Permission handling | Files inherit target library permissions after copy | Permissions may not transfer correctly |
| Version history | Starts fresh version history in the target library | N/A – operation is blocked |
OneDrive does not support a direct move command into a shared library because the sync architecture treats each library as a separate sync root. The only reliable workaround is to copy the folder into the shared library, verify the sync, and then delete the original folder. Use the web browser upload method if local sync causes repeated errors. For long-term management, consider moving files directly within the SharePoint library interface, which preserves metadata and version history across libraries when using the Move to feature.