Hello Dear User
Welcome to the Microsoft Community.
I understand that you are having trouble on OneDrive shared folders, and I understand your confusion.
We were inspired by the persistent issue of OneDrive shared folders rendering URLs in File Explorer (Only for Windows). We've considered insights from JasonChodora and Filipe Costa in the following threads, and here's an additional details of their scenario. Please refer to it**:<we have fix to onedrive shortcut on file explorer - Microsoft Community>**
1-> Launch browser to access and sign in to OneDrive for the web: onedrive.live.com In the address bar, find and copy the CID code after cid= in the link. As shown in the image:

2-> Now press Windows+E opens the file explorer, right-click this PC, and select Map Network drive.

3-> Combine the CID code with the following address to form the mount path for the OneDrive network drive: https://d.docs.live.net/code>

4-> This maps the contents of OneDrive directly to the local network drive. In the pop-up window, select or fill in the following information, and then click ok
5-> Select an unused drive letter for easy differentiation and use. The Y-drive letter is used here
6-> Fill in the mount path for the OneDrive network drive, check "Reconnect at sign-in" to automatically mount the OneDrive network disk when you log in to Windows.
7-> Sign in to your OneDrive account in the pop-up window. This is usually the password for your Microsoft account, as shown in the figure:

8-> If Microsoft Account have two-step verification turned on, you'll need to get and use an App Passwords when you sign in**.<How to get and use app passwords - Microsoft Support>**As shown in this screenshot:

9-> Once you've signed in, you'll be able to see your OneDrive's network drive in File Explorer.

10-> For shared folders, they will also be displayed in Explorer as the actual folder instead of the URL
Please feel free to let me know if you have any further updates, thanks.
Best Regards.Lee-MSFT | Microsoft Community Support Specialist