Trying to get Posts from a conversation thread in Power Automate using Graph API

Riemer, Klaus-Peter 1 Reputation point

I'm trying to get a list of posts for a conversation/thread via the "Send http request" action for Office 365 Groups in Power Automate.

With this activity I'm able to get a list of threads for a given group using "[Specific ID removed]/threads" successfully.
In a next step, I take the "id" of a thread returned by the the first step and try a GET request to "[Specific ID removed]/threads/[Specific ID removed]/posts" according to This fails with this message:
"error": {
"code": "ErrorInvalidIdMalformed",
"message": "Id is malformed."
Im pretty sure the Id should be correct as i took it directly from the result of querying the threads before. Also the ID used looks pretty similar to the example given on the docs page mentioned above (in terms of length and characters).

I would appreciate any more hints to get this working ... Thanks in advance ...

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,521 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,786 Reputation points

    This must be caused by your thread id error. I can also enter the wrong id to reproduce your problem. So I suggest you check your id again to make sure it is correct.

    This is my test process using Graph Explorer:

    1. Get the thread id:


    2. Call the /posts endpoint:


    If an Answer is helpful, please click "Accept Answer" and upvote it.