Diagnostic data in Office 365 is used to keep Office updated, and safe, to diagnose and check any problems related to the platform. Additionally, this is used to make sufficient improvements to the product.