Get OneDrive Sync Status
Overview
NinjaRMM wrapper for the agnostic ODSyncUtil script that retrieves the OneDrive Sync Status and Quota Information. This data is then stored in a custom field cPVAL OneDrive Sync Status.
Sample Run
Play Button > Run Automation > Script
Search and select Get OneDrive Sync Status

Set the required arguments and click the Run button to run the script.
- Run As:
System - Preset Parameter:
<Leave it Blank>

Run Automation: Yes

Dependencies
- Get-ODStatus
- cPVAL OneDrive Sync Status
- cPVAL OneDrive Sync Status Audit
- Solution - Get OneDrive Sync Status
Automation Setup/Import
Output
- Activity Details
- Custom Field
Changelog
2026-04-08
- Added cPVAL OneDrive Sync Status Audit custom field so that it can be used to store the Sync status of OneDrive, which can be further used to apply a filter to audit failed sync status machines.
2026-02-19
- Initial version of the document