Get Compliance Search
Get information about a compliance search.
Installed version: 3.5.0
Parameters
Parameter | Description |
---|---|
Search Name | Name or Job ID of the compliance search. |
Example Output
{
"PSComputerName": "eur05b.ps.compliance.protection.outlook.com",
"RunspaceId": "67bf5df2-292f-4cdc-9276-65400e446699",
"PSShowComputerName": false,
"StatusMailRecipients": [],
"LogLevel": "Suppressed",
"IncludeUnindexedItems": true,
"ContentMatchQuery": "subject:microsoft",
"SearchType": "EstimateSearch",
"HoldNames": [],
"SearchNames": [],
"RefinerNames": [],
"Region": "",
"Refiners": null,
"Items": 0,
"Size": 0,
"UnindexedItems": 0,
"UnindexedSize": 0,
"SuccessResults": "{}",
"SearchStatistics": "",
"Errors": null,
"ErrorTags": [],
"NumFailedSources": 0,
"JobId": "99ef59da-d25b-4df2-837c-08db1db08bc6",
"Name": "my-search",
"CreatedTime": "2023-03-05T19:33:49.9549564Z",
"LastModifiedTime": "2023-03-05T19:33:49.9549564Z",
"JobStartTime": null,
"JobEndTime": null,
"Description": "",
"CreatedBy": "FFO",
"RunBy": "",
"TenantId": "1234567-8a55-469a-81bf-2f6a26736618",
"NumBindings": 0,
"Status": "NotStarted",
"ExchangeLocation": [
"All"
],
"PublicFolderLocation": null,
"SharePointLocation": null,
"OneDriveLocation": null,
"ExchangeLocationExclusion": null,
"PublicFolderLocationExclusion": null,
"SharePointLocationExclusion": null,
"OneDriveLocationExclusion": null,
"JobRunId": "812982d9-5448-41f1-837c-08db1db08bc6",
"Retry": false,
"AllowNotFoundExchangeLocationsEnabled": false,
"JobOptions": 0,
"JobProgress": 0,
"CaseId": null,
"CaseName": "",
"PagingState": "",
"Identity": "1234567-5448-41f1-837c-08db1db08bc6",
"ContentURL": "",
"ResultInEOP": false,
"AzureBatchFrameworkEnabled": false,
"IsValid": true,
"ObjectState": "New"
}
Automation Library Example
Get Compliance Search with Exchange Online and Send Results Via Slack