Get Compliance Search Action
Get information about the status of compliance search action created by the Run Compliance Search Action
info
The action may succeed with "No Output" if the permissions are invalid, but the parameters are correct.
Verify that the action returns a output and that requested operation was actually performed.
Installed version: 3.5.0
Parameters
Parameter | Description |
---|---|
Action Name | Name or JobRunId of the compliance search action. The name is typically formatted as <SearchName>_<ActionType> . So for a search called MySearch and an actionof type Purge , the name would be MySearch_Purge . |
Example Output
{
"PSComputerName": "eur05b.ps.compliance.protection.outlook.com",
"RunspaceId": "4bc31fa8-61f9-449f-8617-4672f21c636b",
"PSShowComputerName": false,
"SearchName": "my-search",
"EstimateSearchRunId": "7a8a71ea-18b9-4cfd-5449-08db22e9e7e0",
"EstimateSearchJobId": "c2c1e1b8-0594-4108-4ef3-08db22e9a13d",
"ActionVersion": "",
"Results": "{}",
"Errors": "",
"Action": "Preview",
"ValidDuration": {
"Ticks": 1728000000000,
"Days": 2,
"Hours": 0,
"Milliseconds": 0,
"Microseconds": 0,
"Nanoseconds": 0,
"Minutes": 0,
"Seconds": 0,
"TotalDays": 2,
"TotalHours": 48,
"TotalMilliseconds": 172800000,
"TotalMicroseconds": 172800000000,
"TotalNanoseconds": 172800000000000,
"TotalMinutes": 2880,
"TotalSeconds": 172800
},
"JobId": "84d17827-e8cd-4588-ffc0-08db22ea0fbb",
"Name": "my-search",
"CreatedTime": "2023-03-12T11:08:08.473",
"LastModifiedTime": "2023-03-12T11:08:08.473",
"JobStartTime": "2023-03-12T11:08:08.55",
"JobEndTime": null,
"Description": "",
"CreatedBy": "John Doe",
"RunBy": "John Doe",
"TenantId": "b903ec40-8a55-469a-81bf-2f6a26736618",
"NumBindings": 0,
"Status": "Starting",
"ExchangeLocation": [
"john.doe@test.onmicrosoft.com"
],
"PublicFolderLocation": null,
"SharePointLocation": null,
"OneDriveLocation": null,
"ExchangeLocationExclusion": null,
"PublicFolderLocationExclusion": null,
"SharePointLocationExclusion": null,
"OneDriveLocationExclusion": null,
"JobRunId": "284dda5c-1d78-493f-eb46-08db22ea0fc7",
"Retry": false,
"AllowNotFoundExchangeLocationsEnabled": false,
"JobOptions": 272,
"JobProgress": 0,
"CaseId": null,
"CaseName": "",
"PagingState": "",
"Identity": "284dda5c-1d78-493f-eb46-08db22ea0fc7",
"ContentURL": "",
"ResultInEOP": false,
"AzureBatchFrameworkEnabled": true,
"IsValid": true,
"ObjectState": "New"
}
Automation Library Example
Get Compliance Search Action with Exchange Online and Send Results Via Slack
Preview this Automation on desktop