> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Compliance Search Action

> Get information about the status of compliance search action created by the

<Info>
  The action may succeed with "No Output" if the permissions are invalid, but the parameters are correct.

  Verify that the action returns an output and that requested operation was actually performed.
</Info>

Installed version: 3.5.0

## Parameters[​](#parameters "Direct link to 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 action of type `Purge`, the name would be `MySearch_Purge`. |

## Example Output[​](#example-output "Direct link to 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"}
```

## Workflow Library Example[​](workflow-library-example "Direct link to Workflow Library Example")

[Get Compliance Search Action with Exchange Online and Send Results Via Slack](https://library.blinkops.com/workflows/get-compliance-search-action-with-exchange-online-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Automation Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Automation on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-compliance-search-action-with-exchange-online-and-send-results-via-email/canvas" />
</div>
