Get comments from the planner task

Sergey Kholodyr 21 Reputation points
2021-09-15T09:38:55.967+00:00

Hi all,

How can I get all comments from the planner task?
I am getting task details, but there are no comments.

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

Accepted answer
  1. Shweta Choudhary 601 Reputation points Microsoft Employee
    2021-09-17T20:16:39.843+00:00

    Thank you for reaching out

    /posts will give you access to all the comments in a JSON array and will have the full comment. However, the comment will have HTML embedded in the data.

    https://graph.microsoft.com/v1.0/groups/[GroupID]/threads/[ConversationID]/posts

    Hope this helps. Thanks!


0 additional answers

Sort by: Most helpful