Using the Diagnostic Data Viewer with Office

In 2018 Microsoft released the Diagnostic Data Viewer (DDV) which is a tool that lets you review the raw diagnostic data Windows is sending to Microsoft. Now you can also view Office diagnostic data using the same viewer. The DDV requires Windows 10, version 1803 or newer. Viewing diagnostic data from Office requires Microsoft 365, or Office 2019, for Windows, version 1904 or newer; or Microsoft 365, or Office 2019, for Mac, version 16.28 or newer.

Note: Support for the Diagnostic Data Viewer is available for Microsoft Teams on devices running Android. Support for Teams on devices running Windows, macOS, or iOS is being worked on.

Not sure which version of Windows or Office you're running?

How it works

The Diagnostic Data Viewer (DDV) has been able to show you the Windows diagnostic data, and on Windows and Mac we've now enabled it to show you Office diagnostic data as well. We'll get into the details in a moment, but basically what you do is start the DDV in Windows, then go to any compatible Office desktop application - such as Word, Excel, or PowerPoint - and turn on diagnostic data viewing. When you return to the DDV you'll see Office diagnostic data in addition to the Windows diagnostic data.

Getting Started

First, you'll need to download and install the Diagnostic Data Viewer, if you haven't already. See Diagnostic Data Viewer Overview for more details on that process.

Once you are done installing, start the Diagnostic Data Viewer on your Windows device.

  1. Launch the Diagnostic Data Viewer from the Start menu.

  2. In the Diagnostic Data Viewer, go to Settings and make sure Office diagnostic data viewing is turned on.

Screenshot of "Office data settings" section of Settings for Diagnostic Data Viewer

Note: If you don't see the option to turn on Office diagnostic data viewing you may have an older version of the DDV. Office diagnostic data viewing requires DDV version 3 or newer. Your DDV should update automatically, but if for some reason it hasn't, you can click here to go to the Microsoft Store and manually check for updates.

Viewing Office data

With Diagnostic Data Viewer running on your Windows device:

  1. Open an Office app such as Word or Excel.

  2. Go to File > Options > Trust Center > Trust Center Settings > Privacy Options.

  3. Select the Diagnostic Data Viewer button.

  4. Choose Enable data viewing on this machine and select OK.

  1. Open an Office app such as Word or Excel.

  2. Go to the app preferences, for example Word > Preferences, and select Privacy.

  3. On the Privacy panel, select View Diagnostic Data on Windows.

  4. Select Enable data viewing on a different machine and enter the connection string from your Windows device in the Diagnostic Data Viewer Connection String box. 

    Note: You can find the connection string for your Windows device in the Diagnostic Data Viewer settings on the Windows device.

  5. Select OK.

You should now be able to go to your Windows device and view the diagnostic data for this device in the Diagnostic Data Viewer app.

  1. Make sure your Windows and iOS devices are connected to the same network.

  2. Open an Office app such as Word or Excel.

  3. Go to Settings > Privacy Settings.

  4. Select View Diagnostic Data on Windows. This opens the Diagnostic Data Viewer Settings page.

  5. Enter the connection string of your Windows device in the Connection String field. 

    Note: You can find the connection string for your Windows device in the Diagnostic Data Viewer settings on the Windows device.

  6. Select Connect to Windows DDV.

You should now be able to go to your Windows device and view the diagnostic data for this device in the Diagnostic Data Viewer app.

  1. Make sure your Windows and Android devices are connected to the same network.

  2. Open an Office app such as Word or Excel.

  3. Go to Settings > Privacy and permissions.

  4. Select View Diagnostic Data.

  5. Enter the connection string of your Windows device in the Connection String field. 

    Notes: 

    • You can find the connection string for your Windows device in the Diagnostic Data Viewer settings on the Windows device.

    • On Microsoft Teams, go to Settings > Privacy > Diagnostic data viewer to enter the connection string of your Windows device.

  6. Select Connect to Windows DDV.

You should now be able to go to your Windows device and view the diagnostic data for this device in the Diagnostic Data Viewer app.

Within a few minutes you should start seeing diagnostic data from Office in the Diagnostic Data Viewer. You only need to turn diagnostic data viewing on (or off) in one application. That turns diagnostic data viewing on (or off) for all supported Office applications on the device at the same time.

You can export the data to a comma-separated values (CSV) text file. Diagnostic event names are displayed in Column B of the .csv file.

The DDV connection will expire after 24 hours. If you want to continue viewing diagnostic data beyond 24 hours simply re-enable data viewing in Office with the steps above.

Troubleshooting

  • If you're trying to view diagnostic data on your device and you get an error that "DDV is not running", even though it is, restart your device and try again.

  • You won't be able to view diagnostic data on the local device if you've launched Office from the start menu, or a command prompt, with "Run as Administrator".

  • If you're trying to view diagnostic data on a device other than the device it's being collected from (for example, viewing diagnostic data for your Mac from a device running Windows), the two devices have to be on the same network. Also, only private network IP address ranges, as defined in RFC 5753, are supported. For example, 10.0.0.x., 172.16.0.x, or 192.168.0.x.

  • If any diagnostic data is generated at the very end of a session, Office will cache that data and upload it at the start of the next session. That means in some instances you may see data from the end of the previous session appear at the start of a new session. It also means that you may not see the very last bits of data from a session until you restart the app to launch a new session.

See Also

Diagnostic data in Office

Privacy at Microsoft

A subscription to make the most of your time

Need more help?

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

×