I got this answer from ChatGPT's site, and it seems to have worked:
1. Right click on the OneDrive folder (this is the parent OneDrive folder, not the folder you are sharing on the server) and select "Properties".
2. Go to the Security tab and ensure the permissions match those on the network...