rclone v1.75.0
os/version: Microsoft Windows 11 Home Single Language 25H2 25H2 (64 bit)
os/kernel: 10.0.26200.8875 (x86_64)
os/type: windows
os/arch: amd64
go/version: go1.26.5
go/linking: static
go/tags: cmount
Remote configuration [onedrive] type = onedrive token = XXX drive_id = XXX drive_type = personal
Problem
Rclone copy fails with "Failed to copy: unauthenticated: Unauthenticated" for every file when copying directly from a shared OneDrive folder into my own OneDrive.
The source folder belongs to another Microsoft Personal account and is shared with me using "Add shortcut to My files".
welcome
i also posted additional links, did you read them?
afiak, the feature you want is not officially supported by rclone, so this topic is not a bug,
instead it appears to be a request for help and support, correct?
I checked the additional links, but I don't think they describe the same problem.
I'm using OneDrive Personal (not OneDrive for Business), and I'm already using the recommended workaround by adding the shared folder using "Add shortcut to My files", which creates a shortcut in my OneDrive.
The workaround works for me in general: I can list the folder, read files (rclone cat), and copy files to a local directory.
The only operation that fails is copying directly from the shortcut to my own OneDrive using rclone copy, which always returns:
Failed to copy: unauthenticated: Unauthenticated
So my impression is that this is a different issue, or that the workaround no longer supports direct OneDrive-to-OneDrive copies from a shortcut.
What's happening is that a server-side copy is being attempted across drives, and OneDrive Personal can't authenticate a copy where the source lives on the owner's drive and the destination on yours. That's why local copy works but drive to drive fails. Try forcing a download-reupload with --disable copy, which stops the server-side shortcut and pulls the file through your machine instead. That usually clears the unauthenticated error.
That makes sense of the whole thing, the server-side copy can't authenticate when the source is on the owner's drive and the destination on mine, which is exactly why local works but drive-to-drive throws the unauthenticated error. Forcing --disable copy to route it as a download-reupload through my machine should sidestep the server-side shortcut entirely. Slower for big files, but I'll take working over fast. Trying that now, thanks for pinning down the cause.