2,568 questions
Automation: Powershell Force OneDrive to Re Sync if there is a Sync Error noted
Olivier Kip
0
Reputation points
I am working for the MSP Lucrasoft, we use an RMM to automate powershell scripts to workdevices to monitor them.
We get a lot of "OneDrive for Business, error with syncing" alerts. What I always see is that if OneDrive is restarted (manually) the sync is done again and the error is solved.
Do people have a powershell script to "re sync", a script that we can initialize when an alert like this is coming up. So we don't have to manually restart or reïnstall onedrive to solve it
Microsoft 365 and Office | OneDrive | For business | Windows
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
Sign in to answer