Forum Discussion
m_krone
Mar 14, 2019Brass Contributor
Stop syncing an already synced SPO document library
is there a way to automate the "stop sync" button process within OneDrive for Business? AN sync can be started simply with odopen://sync? but is there a way for stopping this?
AMDMan64
Jun 02, 2020Tin Contributor
m_krone I am just running into this same question myself. I have a whole map Sharepoint script ready to go and working great for adding drives for mapping, but now I need to find a way to remove them should we ever want to revoke access to a share.
I'll have to test what removing permissions to the SharePoint does with the mapping. Maybe if it gets an access denied against the library it will automatically remove it?
Too bad there isn't a "Stop sync" on the Sharepoint library page as it's pretty easy to derive command lines that programs are launched with.
Did you ever get this question answered? I've seen a few other posts around the Internet asking similar things and no one seems to have an answer.