Skip to content

CheckMemberObject is retuning empty values #806

@ivanmaria

Description

@ivanmaria

I am trying to use checkMemberObject endpoint via msgraph-sdk-java v3.9.0. However, it is returning empty values instead of returning the list of ids. It works well via Postman.

I tried debugging and found that the response of checkMemberObject indeed contains list of ids but it is not being deserialized correctly.

Expected behavior

checkMemberObject output should produce list of ids.

Actual behavior

checkMemberObject output returns empty list.

Steps to reproduce the behavior

Refer the following snippet to reproduce the issue

graphServiceClient
.users("<id>")
.checkMemberObjects(DirectoryObjectCheckMemberObjectsParameterSet
    .newBuilder()
    .withIds(<list_of_ids>)
    .build())
.buildRequest()
.post();
.
.
.
// Verify the DirectoryObjectCheckMemberObjectsCollectionPage output

AB#9932

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions