For several weeks I have been meaning to work out why a bunch of my synchronised libraries from Teams/SharePoint had stopped sync’ing.
Return to Old Kent Road, do not pass Go
In Windows’ File Explorer the reassuring little cloud Status icons had disappeared for some libraries. The files were still there, but synchronisation wasn’t happening at all.
There were no errors showing in the sync client and everything worked fine in the browser. It was a bit of a mystery, but one I didn’t find time to look at until today.
There wasn’t any hint online that I could find. The only lead I had to go on was a semi-helpful message when I tried to sync. It would be nice if these messages told you which shortcut, folder or whatever.
Nevertheless, I was able to track it down to a training session I had been preparing, where I introduced content managers to the handy ‘Add shortcut to OneDrive’ that now appears in libraries. I explained this feature as being useful for staff who struggle with the SharePoint thing and are happier with the simple OneDrive experience. Instead of adding the synchronised folder to the SharePoint cluster in File Manager it adds it to OneDrive for Business
As you can see, there is a handy icon indicating that it’s a link and this was the final clue.
It would appear (though I have yet to find it documented) that this is an either / or scenario. Once you have synchronised a folder anywhere in a library you can no longer sync that library, though you can still add further OneDrive shortcuts.
If you do need to do a standard Sync then you need to remove the OneDrive shortcuts. That’s pretty easy, fortunately. Just find the shortcut in the OneDrive cluster in File Manager, right click and choose ‘Remove Shortcut’, or use the Remove button in OneDrive in the browser. Note that you need to remove every shortcut before sync will work again.
The bottom line is, Either use ‘Sync’ Or ‘Add shortcut to OneDrive’, not both; that’s true for any given library, but it’s probably wise to apply it at a user level to avoid confusion.
Either use ‘Sync’ Or ‘Add shortcut to OneDrive’, not both
Also note that, under some circumstances, SharePoint will allow you to add a onedrive shortcut, even if the library is already synchronised (I think it’s because the sync client has had a hiccup), in which case it will then cancel the library sync – “Return to Old Kent Road, do not pass Go”