I was following this guide Change Location of OneDrive Folder in Windows 10 but musty have done something wrong.

I successfully moven my OneDrive local folder from C:\Users\epete\OneDrive - <Company Name> to D:\Users\epete\OneDrive - <Company Name> however I was also syncing folders from my companies SharePoint Sites

There used to be a link at the top with > <Company Name> and all of my sharepoint sites below where I had access to the files in the document libraries. I no longer have this.

When I go to sharePoint and click sync to re-create this I get an error on OneDrive saying "Sorry, we can't sync this folder You're already syncing a shortcut to a folder from this shared library."

If I am, I have no idea where it is and how to get the folder to show up under the left hand folder structure in OneDrive.

Windows 10 Version 20H2 (OS Build 19042.685)

- - - Updated - - -

I found the answer. Somehow a shortcut to the sharepoint site was created in my onedrive folder. I had to remove that shortcut to allow syncing from my sharepoint site.