> ## 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.

# Create Custodian Site Source

Create a new Site Source object associated with an eDiscovery Custodian.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `eDiscovery.Read.All`.
* **Higher privileged** Microsoft Graph permission to access the action via **application**: `eDiscovery.ReadWrite.All`.

<Note>
  External Documentation

  To learn more, visit the [Microsoft E-Discovery documentation](https://learn.microsoft.com/en-us/graph/api/security-ediscoverycustodian-post-sitesources?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                      |
  | ------------------- | ---------------------------------------------------------------------------------------------------------------- |
  | Custodian ID        | The ID of the Custodian to associate.                                                                            |
  | E-Discovery Case ID | The e-Discovery case ID. Can be obtained by using the `List Cases` action.                                       |
  | Site URL            | The URL of the site to associate.<br /><br />For example: `https://contoso.sharepoint.com/sites/HumanResources`. |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#security/cases/ediscoveryCases('b0073e4e-4184-41c6-9eb7-8c8cc3e2288b')/custodians('0053a61a3b6c42738f7606791716a22a')/siteSources/$entity",
	"@odata.id": "https://graph.microsoft.com/v1.0/sites/dbe4b18e-2765-4989-8647-48139180c45f",
	"displayName": "Retail",
	"createdDateTime": "0001-01-01T00:00:00Z",
	"holdStatus": "applied",
	"id": "dbe4b18e-2765-4989-8647-48139180c45f",
	"createdBy": {
		"user": {
			"id": "c25c3914-f9f7-43ee-9cba-a25377e0cec6",
			"displayName": "MOD Administrator",
			"userPrincipalName": "admin@contoso.com"
		},
		"application": {
			"id": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
			"displayName": "Graph Explorer"
		}
	}
}
```

## Workflow Library Example

[Create Custodian Site Source with Microsoft E Discovery and Send Results Via Email](https://library.blinkops.com/workflows/create-custodian-site-source-with-microsoft-e-discovery-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="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-custodian-site-source-with-microsoft-e-discovery-and-send-results-via-email/canvas" />
</div>
