Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 725 Bytes

File metadata and controls

18 lines (12 loc) · 725 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

com.microsoft.graph.beta.models.security.SiteSource siteSource = new com.microsoft.graph.beta.models.security.SiteSource();
Site site = new Site();
site.setWebUrl("https://m365x809305.sharepoint.com/sites/Retail");
siteSource.setSite(site);
com.microsoft.graph.models.security.SiteSource result = graphClient.security().cases().ediscoveryCases().byEdiscoveryCaseId("{ediscoveryCase-id}").custodians().byEdiscoveryCustodianId("{ediscoveryCustodian-id}").siteSources().post(siteSource);