Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Missing endpoint eDiscoveryHoldPolicy #2610

Open
Labels
status:waiting-for-triageAn issue that is yet to be reviewed or assigned type:bugA broken experience

Description

Describe the bug

I am trying to create a Hold Policy in Purview eDiscovery, but the required methods are not present in the SDK. The documentation for v1.0 says that there is an /legalHolds endpoint under the ediscoveryCases resource and this endpoint can be used with direct HTTP calls, but the SDK does not contain the necessary classes to use it via the Java SDK. The beta SDK, however, does contain these classes.

Expected behavior

A LegalHolds class/method in the Java SDK to be able to use the /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds endpoint as described in the documentation for v1.0

How to reproduce

There is no legalholds subpackage in the current ediscovery package.

In the beta tree it exists, even though it is also a v1.0 endpoint

client.security().cases().ediscoveryCases()
 .byEdiscoveryCaseId(purviewCaseId)
 .legalHolds() // <<--- Error here, method not found
 .byEdiscoveryHoldPolicyId(holdPolicyId)
 .userSources().get();

SDK Version

6.65.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assigned type:bugA broken experience

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /