Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 601 Bytes

File metadata and controls

17 lines (11 loc) · 601 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.ediscovery.Custodian custodian = new com.microsoft.graph.beta.models.ediscovery.Custodian();
custodian.setEmail("AdeleV@contoso.com");
custodian.setApplyHoldToSources(true);
com.microsoft.graph.models.ediscovery.Custodian result = graphClient.compliance().ediscovery().cases().byCaseId("{case-id}").custodians().post(custodian);