Deleting data from endpoints that sync SPOL library

Scott 31 Reputation points

If user sync's a SPOL site using OneDrive app - is there a way we can control - when you Stop Sync for that SPOL site/data to be deleted from local machine.

We do not want to touch their personal OneDrive site - just the SPOL sync'd site libraries.

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,213 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,078 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,311 Reputation points

    It is not possible to delete the OneDrive file data from user’s local machine on their behalf.

    Once the SharePoint Online library is synced to the user’s local drive, they can keep a copy of the files and folders, which is accessible offline without requiring authentication.
    The files and folders will remain as local data after the user stops syncing with SharePoint Online, even if some of them do not save data on local drive, they carry an error symbol on the file icon.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **