[Microsoft Graph] : I am not able to use .content() method in Java .

Rajath Bijjor 1 Reputation point
2021-07-30T04:59:40.477+00:00

.The error says "The method content() is undefined for the type IMessageRequestBuilder". Tried copying the same snippet as provided in Graph Explorer .

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,591 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rajath Bijjor 1 Reputation point
    2021-07-30T05:03:13.243+00:00

    I had to fetch Mail sensitivity property. which is available if I suffix the api with '$value" at the end in the graph explorer. But the code snippet corresponding to the api has ".content()" method thta is displayed as error.

    0 comments No comments