A Microsoft file hosting and synchronization service.
For OneDrive Personal, removing access is done from the item’s Details pane:
- Select the file or folder.
- Select Information in the upper-right corner to open Details.
- Under Has Access, select Manage access.
- Remove the sharing link with the X next to the link, or use Remove Link on the edit link page.
If the folder was added to My files as a shared shortcut and the goal is only to remove it from the view, use Remove shortcut from My files instead. That removes only the shortcut from the account and does not affect the owner or other people.
There is also a current OneDrive issue where some users cannot hide, remove, or stop sharing files under the Shared files area and receive the error "The provided item ID is not valid for the requested drive". Microsoft states that work is in progress to fix that problem. In this scenario, the supported action is to use the normal Manage access path above and, if it continues to fail, wait for the service-side fix.
References: