Data Loss Prevention: Collect Microsoft Purview compliance diagnostics

 








Introduction

The PowerShell Gallery hosts the ComplianceDiagnostics tool, which is a PowerShell module. The program offers a number of data gathering templates from which you can choose. What diagnostic information is collected depends on your choice. Usually, a Microsoft Support engineer instructs you on which data collection template to utilize and requests diagnostic data.

Prerequisites

In order to use the ComplianceDiagnostics tool, ensure that your environment meets the following requirements:
  1. Installed PowerShell 5.0 or its latest version.
  2. Installed ExchangeOnlineManagement module 3.0 or a later version.
  3. The PowerShell Gallery should be in the list of PowerShell repositories on your local computer.
  4. You should be a Compliance administrator in Microsoft Purview. 
  5. PowerShell execution policy should be set to RemoteSigned. 

Install Tool

Install the latest version of the ComplianceDiagnostics tool by running the following cmdlet:

Install-Module ComplianceDiagnostics -Force

Note- It is recommended to run the command periodically to install the latest tool version.

Run Tool

Run the following PowerShell cmdlet to open the ComplianceDiagnostics tool and then sign in to the Exchange Management Shell and Security & Compliance PowerShell when you are prompted:

Start -ComplianceDiagnostics

Collect Diagnostic Data

  1. Select the data collection template that matches your issue.
  2. Use the template fields to provide information about your issue.
  3. Select Export Support Data.
  4. In the folder dialog box that opens, choose a parent folder for the diagnostic data. 
  5. Select Yes in the completion dialog box to view the .zip file in File Explorer.

Review Diagnostic Data

  1. Extract the contents of the .zip file.
  2. Parse the .json file, and view the parsed data objects.
  3. Get detailed  diagnostic information by querying the data objects.
  4. After finishing the diagnostic review, send the .zip file to Microsoft Support to investigate the issue.

Conclusion

Data Loss Prevention compliance diagnostic is done via above steps.





































Comments

Popular posts from this blog

Deployment (Part 3)

Deployment (Part 1)

Design Planning (Part 3)