Skip to main content

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

ContentTypeFunction
Get OneDrive Sync StatusScriptNinjaRMM 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 StatusCustom FieldThis device custom field stores the OneDrive Sync Status gathered by the automation Get OneDrive Sync Status.
cPVAL OneDrive Sync Status AuditCustom FieldThis 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 AuditGroupThis group includes agents for which OneDrive is not syncing properly or where the user is not logged in to OneDrive.
OneDrive Sync AuditGroupThis group shows information from the custom field cPVAL OneDrive Sync Status Audit on computers for OneDrive sync auditing.

Implementation

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