Hi @Microsoft Q & A,
Thanks for posting in our Q&A forum.
Regarding of your requirements, I can help you with some steps to achieve your goal.
- To create a test label, you can use the New-Label cmdlet in PowerShell. For example:
New-Label -Name "Test Label" -DisplayName "Test Label" -Description "This is a test label"
- To create an EXO rule to apply the label when the recipient is a member of a group, you can use the New-TransportRule cmdlet in PowerShell. For example:
New-TransportRule -Name "Apply Test Label" -SentToMemberOf "Test Group" -ApplyClassification "Test Label"
- To create a DLP policy to notify the sender with email and policy tip if the message contains the label, you can follow the instructions: https://learn.microsoft.com/en-us/exchange/security-and-compliance/data-loss-prevention/create-custom-dlp-policy
Hope this can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.