You can share files in a folder on your computer that you’re syncing with your OneDrive for Business folder or other site library folders. To set up file sharing, you must be able to sign in to Office 365 or SharePoint.
With your files open in File Explorer in Windows, right-click the file you want to share, click OneDrive for Business, and then click Share…
See Ways to work with site library files in File Explorer for info on using File Explorer and SharePoint.
If prompted, sign in to Office 365 or SharePoint.
The associated library and Share dialog box opens in a web browser.
Select options in the Share dialog box and click Share.
For details on using the Share dialog box, see Share documents or folders in Office 365.