Get OneDrive Sync Status
Purpose
This is a Ninja RMM solution that uses the ODSyncUtil to populate the OneDrive sync status of the users and store it to the custom fields.
Associated Content
| Content | Type | Function |
|---|---|---|
| Get OneDrive Sync Status | Script | NinjaRMM wrapper for the agnostic script Get-ODStatus that retrieves the OneDrive Sync Status and Quota Information. This data is then stored in a custom field cPVAL OneDrive Sync Status. |
| cPVAL OneDrive Sync Status | Custom Field | This device custom field stores the OneDrive Sync Status gathered by the automation Get OneDrive Sync Status. |
| cPVAL OneDrive Sync Status Audit | Custom Field | This device custom field stores the OneDrive Sync Status gathered by the automation Get OneDrive Sync Status. It can be used to audit the agents where sync is failed. |
| OneDrive Sync Failure Audit | Group | This group includes agents for which OneDrive is not syncing properly or where the user is not logged in to OneDrive. |
| OneDrive Sync Audit | Group | This group shows information from the custom field cPVAL OneDrive Sync Status Audit on computers for OneDrive sync auditing. |
Implementation
- Create the script Get OneDrive Sync Status
- Create the below custom fields:
- Create the below groups:
- Schedule the Automation that triggers the script weekly (recommended) to the target as requested by the client.
FAQ
Q. Does this capture the status for the not signed case where the OneDrive process is running, but no user is signed in?
A. Yes
Changelog
2026-04-08
- Initial version of the document