← 返回首页
Missing endpoint eDiscoveryHoldPolicy · Issue #2610 · microsoftgraph/msgraph-sdk-java · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Missing endpoint eDiscoveryHoldPolicy #2610

New issue
New issue

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 assignedtype:bugA broken experience

    Type

    No type

    Fields

    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

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.