Once a OneDrive file/folder has been shared with others, that access can be revoked at any time by managing the permissions. Removing access will prevent users from opening documents previously shared with them.
Follow this guide if you have shared items in your OneDrive and wish to revoke access.
Stop Sharing Items - Windows
Log in to your computer. From your desktop, open File Explorer by clicking the icon, using the keyboard shortcut (Windows Key + E), or searching for it in the Start menu.
Navigate to the item that you want to stop sharing.
Right click on the item and look at the OneDrive options. Click on Manage access.
These instructions continue below. Please continue down the page below the macOS instructions.
Stop Sharing Items - MacOS
Log in to your computer. From your desktop, open Finder by clicking on the icon or by pressing Command + Spacebar on your keyboard and searching for Finder.
Navigate to the item that you want to stop sharing.
Right click, or two-finger click, on the item and look at the OneDrive options. Click on Share.
Click on the Shared with: icons to view the people you are sharing with.
Continue Below
Removing Access
In the popup window, click on the downward facing caret that sits next to the icons of those you are sharing with.
In the list of people, click on the X next to a name to stop sharing with them.
Or, you can click on Stop sharing to remove access from everyone who you have shared the item with.