Set a preference for diagnostic data in Office for Mac

Applies to: Office for Mac, Office 2019 for Mac, Office 2016 for Mac

Office for Mac collects diagnostic information which helps us find and fix problems, improve our products and services, and provide you with customized experiences.

The scope of diagnostic data sent to Microsoft depends on whether you choose Full or Basic as your diagnostic data setting. For additional details about Full and Basic, see Diagnostic data in Office.

If you're an IT admin, you may want to define the level of diagnostics data collection for your organization. The preference is per-application, and can be set via macOS Configuration Profiles, or manually from Terminal. Use the following information to configure a policy:

Domain
com.microsoft.Word
com.microsoft.Excel
com.microsoft.Powerpoint
com.microsoft.Outlook
com.microsoft.onenote.mac
Key
DiagnosticDataTypePreference
Data Type
String
Possible values
FullDiagnosticData
BasicDiagnosticData

The following example sets the diagnostic data to Full for Word, Excel, PowerPoint, Outlook, and OneNote by using Terminal.

defaults write com.microsoft.Word DiagnosticDataTypePreference -string FullDiagnosticData
defaults write com.microsoft.Excel DiagnosticDataTypePreference -string FullDiagnosticData
defaults write com.microsoft.Powerpoint DiagnosticDataTypePreference -string FullDiagnosticData
defaults write com.microsoft.Outlook DiagnosticDataTypePreference -string FullDiagnosticData
defaults write com.microsoft.onenote.mac DiagnosticDataTypePreference -string FullDiagnosticData

This key is CFPreferences-compatible, which means that it can be set by using enterprise management software for Mac, such as Jamf Pro.