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:
- Installed PowerShell 5.0 or its latest version.
- Installed ExchangeOnlineManagement module 3.0 or a later version.
- The PowerShell Gallery should be in the list of PowerShell repositories on your local computer.
- You should be a Compliance administrator in Microsoft Purview.
- 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
- Select the data collection template that matches your issue.
- Use the template fields to provide information about your issue.
- Select Export Support Data.
- In the folder dialog box that opens, choose a parent folder for the diagnostic data.
- Select Yes in the completion dialog box to view the .zip file in File Explorer.
Review Diagnostic Data
- Extract the contents of the .zip file.
- Parse the .json file, and view the parsed data objects.
- Get detailed diagnostic information by querying the data objects.
- 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
Post a Comment