Delete local files and stop syncing after being removed from group
When a user has marked a library for syncing after they are removed from the group no clean-up occurs and onedrive for business clients throws error.
Overview:
• removed from group
• one drive client threw up error after 5-10 mins saying couldn't sync
• manually removed sync location via one drive client
• folder was left on pc
• files i had opened and that where synced still available
• had to manually delete folder
Adding and removing access to groups/sites is a common task and means users are left to manually clean-up everytime they are removed and documents downloaded are left on machine unless manually deleted.

7 comments
-
Andreas Gothe commented
It is incredible that this is not a standard feature.
After all, it is essential for enterprise use to have control of the data on the end devices. As someone else has already mentioned: There is not only the use case that a user leaves the company completely and I delete all data. But a simple restructuring of team members is part of everyday business. It should be a matter of course that a user automatically sees only the data for which he is a group member. This feature should be included in the specifications for a version 0.1 of every cloud solution.
-
Anonymous commented
This is the missing piece for me and that final part that is stopping me from moving from local file servers to SharePoint.
-
Anonymous commented
i am also experiencing this, our users were added to group by mistake then removed and they still have access.
-
Josh Cowin commented
Removing users from an group which removes them from a sharepoint document library or Ondrive folder should remove the local synced folders from their devices.
This is a refresh of this idea: https://onedrive.uservoice.com/forums/262982-onedrive-archive/suggestions/7335806-remove-synced-file-when-team-site-permissions-chan
-
BD commented
This is a must have feature and should work for SharePoint as well. We need this urgent. This is basic compliance.
-
Anonymous commented
This is needed for compliance, not just when leaving the organisation (as that would be taken care of by WIP) but when organisation access changes which results in removal of document library access, that user should not have any local copy unless the policy allows it.
-
James Walsh commented
We have this issue as well.