This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.
Disclaimer
This document is not meant to replace any official documentation, including those found at docs.microsoft.com. Those documents are continually updated and maintained by Microsoft Corporation. If there is a discrepancy between this document and what you find in the Compliance User Interface (UI) or inside of a reference in docs.microsoft.com, you should always defer to that official documentation and contact your Microsoft Account team as needed. Links to the docs.microsoft.com data will be referenced both in the document steps as well as in the appendix.
All the following steps should be done with test data, and where possible, testing should be performed in a test environment. Testing should never be performed against production data.
Target Audience
Presales Technical Specialist running Endpoint DLP testing
Document Scope
This document is for Compliance Technical Specialists troubleshooting Endpoint DLP issues and Endpoint Devices.
The purpose of this document (and series) is to provide the insights into various user cases, announcements, customer driven questions, etc.
Topics for this blog entry
Here are the topics covered in this issue of the blog:
- Retention labeling and PowerShell
Out-of-Scope
This blog series and entry is only meant to provide information, but for your specific use cases or needs, it is recommended that you contact your Microsoft Account Team to find other possible solutions to your needs.
Retention Labels – Can an organization apply retention Labels via Powershell?
The Simple answer is NO, but you can create and modify labels via PowerShell. Here are some links that explain.
Set-DlpCompliancePolicy (ExchangePowerShell) | Microsoft Learn
If you want to apply labels automatically, you need to use the Purview console via a version of E5 licensing. Here some corresponding links:
Microsoft 365 guidance for security & compliance - Service Descriptions | Microsoft Learn
Appendix and Links
Set-DlpCompliancePolicy (ExchangePowerShell) | Microsoft Learn
Microsoft 365 guidance for security & compliance - Service Descriptions | Microsoft Learn