I ran into this exact issue.
I guess the problem I have now is that I don't know the specifics as to the fix, but I'd be remiss if I didnt post.
I had the added constraint of locking down the share, but I assume removing the valid user/write list fixes that.
I've tried this against OD, gDrive, etc.
Obviously replace "dan" with unraid share username.
[OneDriveDan]
path = /mnt/disks/sharename
comment =
browseable = yes
valid users = dan
write list = dan
writeable = yes
read only = no
force user = nobody
force group = users
create mask = 0660
directory mask = 0770
vfs objects =