Skip to main content

Audit OneDrive Sync Status

Purpose

The solution aims to retrieve and display the OneDrive Sync Status using the Get-ODStatus.ps1 script.

Associated Content

Auditing

ContentTypeFunction
Script - Get OneDrive Sync Status [DV]ScriptThe script fetches the data.
pvl_odsync_statusCustom TableThe custom table stores the data.
Dataview - OneDrive Sync Status [Script]DataviewThe dataview displays the data.
Internal Monitor - Execute Script - Get OneDrive Sync Status [DV]Internal MonitorThe internal monitor detects the relevant computers.
Alert Template - △ Custom - Execute Script - Get OneDrive Sync Status [DV]Alert TemplateThe alert template executes the script.

Alerting

ContentTypeFunction
Internal Monitor - ProVal - Production - OneDrive Sync FailuresInternal 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.

Remove the following items if they exist (This is the old solution):

2.

Import the following content using the ProSync Plugin:

3.

Reload the system cache:
Reload Cache

4.

Run the script against any online Windows machine with the Set_Environment parameter set to 1 to create the custom table pvl_odsync_status.
Run Script

5.

Configure the solution as outlined below:

Optional Alerting

The following steps to import and implement the Alerting section should only be performed if the partner chooses to opt-in.

1.

Import/Update the following content using the ProSync Plugin:

2.

Reload the system cache:
Reload Cache

3.

Configure the solution as outlined below: