Unlinking
You can unlink SharePoint folders on a Salesforce record from the SharePoint Links component. This will remove the linked folder from the Lightning component and give you the option to move the SharePoint folder to the trash if your user has permission to do so.
- Navigate to the Salesforce record that the SharePoint folder is linked to.

- Select the dropdown menu next to the folder.

- Select Unlink Folder from Record.

- (Optional) Select the Also, move this folder to the Trash in SharePoint checkbox if you want to also move the folder to the trash. This option is only available if your user has access to it in SharePoint.

- Confirm and select Unlink. The ContentDocumentLink record associated with the SharePoint folder will be removed from the Salesforce record, and the Share Link will be deleted (if applicable).

Note: A Share Connect linkage between a Salesforce record and a SharePoint folder is represented in Salesforce as a ContentDocumentLink record. Choosing to unlink deletes the underlying ContentDocumentLink record associated with the SharePoint folder but does not delete the SharePoint folder itself.