msgraph-sdk-java icon indicating copy to clipboard operation
msgraph-sdk-java copied to clipboard

Site description field is always null

Open rocketraman opened this issue 10 months ago • 0 comments

Describe the bug

I am trying to obtain the site description using the Graph SDK. However, even though the Graph Explorer shows that the description value is returned, in the SDK the description is always null.

One possible difference is that I am using Azure Identity credentials with a client certificate credential to configure authentication for the SDK. Also tried a client secret credential with the same result.

Expected behavior

The description field should be available.

How to reproduce

Create a site in Sharepoint with a description.

Try to retrieve the description via the Graph Explorer. It works.

Try to retrieve the description via the SDK. It does not work. Debug logs at the HTTP level shows that the odata response does not contain the description field.

For some reason the return value of the Graph Explorer is different than the return value of the SDK, for the exact same API request 👎 .

SDK Version

6.33.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

No response

Configuration

No response

Other information

No response

rocketraman avatar Mar 31 '25 18:03 rocketraman