Forum Discussion
pecific147
Dec 08, 2022Copper Contributor
Bulk Closure of old Incidents via PowerShell
Hi All, I am trying to close all MS Sentinel incidents via PowerShell using below script. Get-AzSentinelIncident -WorkspaceName "XXXXXX_XXXXXX" -All | Where-Object {$_.status -eq "New"} | Fo...
Rod_Trent
Microsoft
Dec 08, 2022Hi pecific147
It might be the actual number of Incidents that are the problem versus the time range. Let me do some digging around here to find out.
I understand those Incidents existing in the workspace can be annoying, but they will expire from the workspace based on your retention setting.
pecific147
Dec 13, 2022Copper Contributor
Hi Rod_Trent,
Did you find anything,?
Workspace retention is 365 days, so waiting for retention to expire won't work.
Did you find anything,?
Workspace retention is 365 days, so waiting for retention to expire won't work.