Skip to main content

Microsoft OneDrive Sync Status

Purpose

The purpose of this solution is to collect and display OneDrive sync status information from Windows machines exclusively for Non-SharePoint Linked Sites.

Associated Content

Auditing

ContentTypeFunction
Script - Microsoft OneDrive Sync Status [DV]ScriptFetch the data.
Dataview - Microsoft OneDrive Sync Status [Script]DataviewDisplay the data.
Internal Monitor - Execute Script - Microsoft OneDrive Sync StatusInternal MonitorDetect the relevant computers to execute the script.
△ CUSTOM - Execute Script - Microsoft OneDrive Sync StatusAlert TemplateExecutes the script against the computers detected by the Internal Monitor.

Alerting

ContentTypeFunction
Internal Monitor - OneDrive Sync Status IssueInternal MonitorDetects the problematic machines.
Script - Ticket Creation - ComputerAutofix ScriptManages ticketing.
△ Custom - Ticket Creation - ComputerAlert TemplateExecutes the script against the computers detected by the Internal Monitor.

Implementation

1.

Import/Update the following scripts from the ProSync plugin:

2.

Import/Update the following internal monitors from the ProSync plugin:

3.

Import/Update the following alert templates from the ProSync plugin:

  • △ CUSTOM - Execute Script - Microsoft OneDrive Sync Status
  • △ Custom - Ticket Creation - Computer

4.

Import the Dataview - Microsoft OneDrive Sync Status [Script] from the ProSync plugin.

5.

Reload the system cache.
System Cache Reload

6.

Implement the Auditing solution as follows:

7.

Implement the Alerting solution as follows:

FAQ

Q: Why does the script occasionally throw an error and fail to retrieve data from the computer?
A: The script relies on the functionality of the Onedrive.dll module to fetch the necessary data. However, it's important to note that the Onedrive.dll module is not entirely infallible, which can result in occasional errors during data retrieval. Additionally, it's crucial to ensure that no security applications are impeding the functionality of this module, as it needs to operate without restrictions to retrieve data successfully.