scloud by Florian Salzmann
ende

Monitor OneDrive Status - Sync Admin Reports

The OneDrive Sync Admin Reports allows you to monitor the status of OneDrive of all managed Windows devices. Often users ignore error messages from the OneDrive client and don’t think too much about it. But that’s exactly how data can be lost. The report gives you a quick insight into possible errors or conflicts and you can proactively approach a user.

Aktivierung des “Sync Health Dashboard”

  • Activation must be under https://config.office.com/ be made.
  • Here we navigate under Health to the OneDrive Sync and activate the preview feature:

Activating the OneDrive Sync Health preview feature in Microsoft 365 admin center

  • The license conditions must be confirmed.

Confirming the license terms for OneDrive Sync Health preview feature

  • After activation, it takes about 10 minutes before we can continue with the next step.
  • Then we navigate to the settings and copy and the Tenant Association Key out.

Copying the Tenant Association Key from OneDrive Sync Health settings

Attention: If the key is regenerated, it must be exchanged on devices that have already been recorded.

  • With these steps the report is activated. Next we activate the function on the Windows end devices.

Activate monitoring

Monitoring of the local OneDrive client is activated for each device. There are three options for activation via IntuneGPO or Registry.

Attention: After activation on the device, it can take up to 3 days before the first results are visible in the dashboard.

Enable monitoring with Intune

OneDrive monitoring is activated quickly and easily with Intune and the administrative templates.

Creating a new administrative template configuration profile in Intune

  • We give the profile an understandable name. e.g. “WIN OneDrive Monitoring”

Naming the configuration profile WIN OneDrive Monitoring

  • In the Configuration settings we are looking for the setting Sync admin reports, activate this and finally add our Tenant Association Key one.

Configuring the Sync admin reports setting with the Tenant Association Key

  • The policy is then assigned to the desired group or to all devices.

Activate monitoring via GPO

We install the OneDrive GPOs first, if not already done. To do this, we copy the ADMX template from any Windows machine with a current OneDrive client into the local domain infrastructure.
You can find those at C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\OneDrive\21.230.1107.0004\adm

Locating the OneDrive ADMX template files on a device with the current OneDrive client

  • The file must be under \\yourdomain.ch\SYSVOL\yourdomain.ch\Policies\PolicyDefinitions inserted
  • The file under \\yourdomain.ch\SYSVOL\yourdomain.ch\Policies\PolicyDefinitions\en-US (or that of another language)
  • Is the Group Policy Editor newly opened, the policy is under Computer Configuration\Administrative Templates\OneDrive > Sync Admin Reports available and is activated and configured accordingly.

Enabling the Sync Admin Reports policy in Group Policy Editor

Activate monitoring via registry / PowerShell

If you only want to activate the monitoring on one test device, you can also do this via the registry or PowerShell. With the PowerShell command, the monitoring can also be triggered by another administration.

PfadStringWert
HKLM\SOFTWARE\Policies\Microsoft\OneDriveSyncAdminReportsTenant Association Key
(aus der Aktivierung)
$TenantAssociationKey = "PasteInYourKeyHere!"

reg.exe add HKLM\Software\Policies\Microsoft\OneDrive /v SyncAdminReports /t REG_SZ /d $TenantAssociationKey /f

Setting the SyncAdminReports registry value via PowerShell

Overview - Sync Admin Reports

On the first page, the dashboard shows an overview of the analyzed OneDrive synchronizations with the errors, “Known Folder move” and the OneDrive client versions.

Sync Admin Reports dashboard overview of errors and client versions

The error overview shows the user with their email address and host name. In addition, you can see how many errors the user has encountered and whether the “known folder move” is active.

Error overview listing users, hostnames, and Known Folder Move status

If we click on the user, a menu opens with further details and the error message from the OneDrive client. I cover the error message with the one on the local device.
The details are correct so far, only the Windows version is not correct. So I’m using Windows 11 and not 10.

Detailed error message view for a user's OneDrive sync issue

OneDrive sync error details shown on the local device

For larger, multilingual organizations, the error message can be a bit complicated, depending on the language display, as it is adopted from the local system language of the monitored device.

Localized OneDrive sync error message shown in the device's system language

The general overview lists all devices and all OneDrive synchronizations. Several synchronizations can be displayed per device. In my case, for example, because I also synchronize my private tenant’s to the business OneDrive.

General overview listing all devices and their OneDrive synchronizations

Summary

The OneDrive Sync Admin Reports are very helpful to proactively fight against data loss and to monitor the status of end users. The overview is simple, but shows the most important things.
What bothers me is that the report interval is very large. In my tests, the devices sent a report a maximum of once a day. This means that an error can go unnoticed for up to a day. Of course, the report is currently still in the preview and could still be improved.

Microsoft Docs article for more info: OneDrive sync reports in the Apps Admin Center - OneDrive | Microsoft Docs

Related posts

intune edge settings
Microsoft 365

Microsoft Edge Policies with Intune

Configure the Microsoft Edge browser for end users with Intune, so that favorites and search settings are set up in a meaningful way.

DNS Suffixes set via Intune
Microsoft Intune

Set DNS Suffixes via Microsoft Intune

Learn how to configure DNS suffixes via Microsoft Intune with a Settings Catalog profile, deploy them safely, and verify the setup on managed Windows devices.

Intune Autopilot Set Time Zone
Microsoft Intune

Automatically Set the Time Zone in Intune Autopilot

Set the correct time zone during Intune Autopilot using my PowerShell script and IPInfo API. Fast, simple, and no extra services needed.