purview
2 Topics.Net mail message, PowerShell and Microsoft Purview Infrmation Protection
I have a PowerShell script that using the .net mail message to send emails. We want to restrict some of those emails to a certain sensitivity (we call it classification) and restrict it to only internal users (which this label does when sending via Outlook). I have looked at a number of ways to do this but haven't come up with anything that works. Here are the issues: The smtp server is NOT in Office 365. The PowerShell window is opened as an admin account so using an Outlook interface might not work. Currently, I have it set to send remotly (A session is created with the server that is whitelisted and it actually sends the message). Any information would be of great assistance.143Views0likes2CommentsGet-ComplianceSearchAction fails for SP
Hi, i'm running an unattended script to get the status of a content search export, using a Service Principal. Unfortunately, when i run get-compliacesearchaction -identity <some.identity_export> i receive an error. If i run it without parameter it works and returns all my exports. The SP is added to all required roles. I raised a support request to MS, and received a response that "...internal engineering team and they confirm that this has to do with a design limitation when it comes to using SP with Get-complianceaction cmdlet." Anyone encountered the issue and managed to find a workaround? As far as i know, using tokens does no longer work. Thank you for your help!686Views0likes1Comment