Skip to main content

OneDrive Sync Status

Summary​

Shows the OneDrive sync status and storage quota of the user signed in to each Windows workstation. Use it to find users whose files are not syncing or whose OneDrive is nearly full. The Get OneDrive Sync Status automation collects the data on each device.

Requirements​

note

The Knowledge Base articles need the NinjaOne Documentation app enabled in NinjaOne, as shown below. If your NinjaOne does not have it, set Report Output to Local CSV Files in the report automation. The report then creates only the CSV files, on the device that runs it.

NinjaOne Documentation app enabled

Where to Find the Report​

ReportKnowledge Base ArticleCSV File
GlobalGlobal Knowledge Base > Dataviews > OneDrive > OneDrive Sync StatusC:\ProgramData\_Automation\Report\OneDrive\OneDrive Sync Status.csv
OrganizationOrganization Knowledge Base > Dataviews > OneDrive > OneDrive Sync StatusC:\ProgramData\_Automation\Report\OneDrive\Organization_Level_Reports\OneDrive Sync Status_<Organization>.csv
note

The articles and CSV files are replaced every time the report runs. CSV files are saved on the device that runs the report automation. An article that grows too large is split into - Part 1, - Part 2 and so on. A device only appears after the automation has run while a user was signed in and OneDrive was running.

Report Columns​

Column NameAppears InDescription
OrganizationGlobal onlyThe organization the device belongs to.
LocationBothThe location the device belongs to.
DeviceBothThe device name.
OSBothThe operating system of the device.
DeviceTypeBothThe device type: Physical Server, Virtual Server, Laptop, Desktop or Virtual Workstation.
UserNameBothThe user whose OneDrive was checked.
FolderPathBothThe local OneDrive folder.
SyncStatusBothThe sync state, for example UpToDate, Syncing or Error.
IsQuotaAvailableBothTrue when OneDrive reported storage quota information.
TotalQuotaBothThe total OneDrive storage, in GB.
UsedQuotaBothThe OneDrive storage in use, in GB.
QuotaLabelBothThe storage state reported by OneDrive.
DataCollectionTimeBothWhen the device collected the data.

Report Settings​

Values used in the WYSIWYG Custom Field Report - Organization and Global KB automation to build this report.

Script VariableValue
Report OutputKnowledge Base Articles and Local CSV Files
Custom Field NamecpvalOnedriveSyncStatus
Report ScopeAll Organizations and Global
Organization KB Article NameOneDrive Sync Status
Organization KB Folder NameDataviews/OneDrive
Organization Additional ColumnsLocation, Device, OS, DeviceType
Global KB Article NameOneDrive Sync Status
Global KB Folder NameDataviews/OneDrive
Global Additional ColumnsOrganization, Location, Device, OS, DeviceType
Local Folder NameOneDrive
Local File NameOneDrive Sync Status
Device CategoryAll
MultipartTrue
Instance UrlThe NinjaOne instance of the partner, for example us2.ninjarmm.com

Report Settings

Dependencies​

Global Article Sample Screenshot​

Global Article

Organization Article Sample Screenshot​

Organization Article

CSV Folder Sample Screenshot​

The global CSV file, and the Organization_Level_Reports folder with one CSV file per organization.

CSV Folder

Changelog​

2026-10-14​

  • Initial version of the document