Forum Discussion
Thomas555
Sep 01, 2022Copper Contributor
Get User Submissions via Powershell to Mark them
Hello all,
currently I try to find out how to load all User submissions in powershell and use the "Mark as and notify" feature on it.
Attached you find a screenshot what I eactly mean:
Is this possible to make via Powershell ? I couldnt find not a single command for this on google.
Thank you very much
- Have you looked at the Graph API's /security/threatSubmission/ endpoint? https://docs.microsoft.com/en-us/graph/api/resources/security-threatsubmission?view=graph-rest-beta
- Thomas555Copper ContributorThank you for the reply. UnfortunatelyIam not trained and never used Microsoft Graph so a Powershell command would be better. If I look at your link I dont understand anything. So i guess there no powershell command out there, right ? A yes would also answer this question
- The Get-MgSecurityThreatSubmissionEmailThreat cmdlet from the "Security" module of the Microsoft Graph SDK for PowerShell should do. Unfortunately, said module is poorly documented, to the point that it's easier to use the API directly. Here's the corresponding "help" article, just in case: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.security/get-mgsecuritythreatsubmissionemailthreat