Skip to main content

OneDrive Backup Status

Summary​

Shows, for every user on each Windows workstation, whether the Desktop, Documents and Pictures folders are backed up to OneDrive. Use it to find users whose files would be lost if their device failed. The Get OneDrive Backup 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 Backup StatusC:\ProgramData\_Automation\Report\OneDrive\OneDrive Backup Status.csv
OrganizationOrganization Knowledge Base > Dataviews > OneDrive > OneDrive Backup StatusC:\ProgramData\_Automation\Report\OneDrive\Organization_Level_Reports\OneDrive Backup 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. Every user profile on a device is listed, including users without OneDrive.

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, as DOMAIN\user.
DesktopEnabledBothTrue when the Desktop folder is backed up to OneDrive.
DesktopPathBothWhere the Desktop folder is stored. Blank when it is not backed up.
DocumentsEnabledBothTrue when the Documents folder is backed up to OneDrive.
DocumentsPathBothWhere the Documents folder is stored. Blank when it is not backed up.
PicturesEnabledBothTrue when the Pictures folder is backed up to OneDrive.
PicturesPathBothWhere the Pictures folder is stored. Blank when it is not backed up.
DataCollectionDateBothWhen 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 NamecpvalOnedriveBackupStatus
Report ScopeAll Organizations and Global
Organization KB Article NameOneDrive Backup Status
Organization KB Folder NameDataviews/OneDrive
Organization Additional ColumnsLocation, Device, OS, DeviceType
Global KB Article NameOneDrive Backup Status
Global KB Folder NameDataviews/OneDrive
Global Additional ColumnsOrganization, Location, Device, OS, DeviceType
Local Folder NameOneDrive
Local File NameOneDrive Backup 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