I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way:
- Message Encryption Report:
![Screenshot 2024-04-16 at 10.03.47 AM](https://learn-attachment.microsoft.com/api/attachments/68efa28f-7d1d-4ff1-9f23-54e397558461?platform=QnA)
Link: https://compliance.microsoft.com/reports/encryptionreport
- Select “Export” found below the graph
- Follow prompts that appear on the right of the screen
Report will be emailed to you, click on link in email and report will be downloaded via browser.
- DLP reports:
![Screenshot 2024-04-16 at 10.05.05 AM](https://learn-attachment.microsoft.com/api/attachments/1988bcba-c42b-45fc-9dd3-b4573a649767?platform=QnA)
Link: https://compliance.microsoft.com/datalossprevention?viewid=dlpalerts
- Click on “Alert Name”
- Using the details shown on the right pane, count DLP instances for PII and PCI.I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way:
- Message Encryption Report:
![Screenshot 2024-04-16 at 10.03.47 AM](https://learn-attachment.microsoft.com/api/attachments/68efa28f-7d1d-4ff1-9f23-54e397558461?platform=QnA)
Link: https://compliance.microsoft.com/reports/encryptionreport
- Select “Export” found below the graph
- Follow prompts that appear on the right of the screen
Report will be emailed to you, click on link in email and report will be downloaded via browser.
- DLP reports:
![Screenshot 2024-04-16 at 10.05.05 AM](https://learn-attachment.microsoft.com/api/attachments/1988bcba-c42b-45fc-9dd3-b4573a649767?platform=QnA)
Link: https://compliance.microsoft.com/datalossprevention?viewid=dlpalerts
- Click on “Alert Name”
- Using the details shown on the right pane, count DLP instances for PII and PCI.