A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
No one here knows why you can't share OneDrive files, because you haven't told us what your procedure is and what's stopping you. I can tell you how I successfully share files in OneDrive:
1- I sign in to my OneDrive online
2- I select the file I want to share.
3- I click on the three dots after the file name and choose Share.
4- I add the addresses of the people with whom I want to share.
5- I include whatever message I want to include.
6- Finally, I click on the blue Send button.