We saw how to share documents in the Sharing a document recipe in Chapter 2, Introduction to SharePoint Online. Sharing files or folders from OneDrive works in the same way. The one minor exception is that your organization can set up different sharing restrictions on the files stored in OneDrive for Business versus those stored in SharePoint Online. For example, your organization may have turned off anonymous link sharing (signing in is not required to view a shared document) for your SharePoint sites, but might have enabled it for OneDrive.
In this recipe, we will use the OneDrive client to share a document from a local OneDrive folder on our computer.
There are no special requirements for sharing a file through OneDrive for Business online. As long as you have access to SharePoint Online, you will also have access to OneDrive for Business and you can share any files from there.
You should have the OneDrive sync client...