Creating an Online Meeting with ThreadId Using Graph API

Alain Groleau 0 Reputation points
2024-12-11T03:35:28.7233333+00:00

I am trying to create an Online Meeting in a Teams channel using the Graph API with the beta endpoint (/beta/me/onlineMeetings/). I am including a threadId in the chatInfo properties, but for some reason, the join button is not visible, and the word "ended" is appended to the end of the meeting subject immediately.

Here’s the result: User's image

Below is the HTTP request used to create the Online Meeting:

POST https://graph.microsoft.com/beta/me/onlineMeetings
{
  "subject": "Team Strategy Meeting - 4",
  "startDateTime": "2024-12-10T14:30:00Z",
  "endDateTime": "2024-12-10T15:30:00Z",
  "chatInfo": {
    "threadId": "......@thread.ta...."
  },
  "participants": {
    "attendees": [
      {
        "identity": {
          "user": {
            "id": "",
            "displayName": "Jane Doe"
          }
        }
      }
    ]
  }
}

Is the issue related to missing information or is it because I am using the beta API?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,652 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,442 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 840 Reputation points Microsoft Vendor
    2024-12-19T08:12:21.01+00:00

    Hi @Alain Groleau

    Thanks for reaching out to Microsoft!

    As per documentation property chatInfo is the chat information associated with the online meeting created.

    The threadID for the meeting looks similar to this-

    "chatInfo": {

        "threadId": "19:meeting_M2IzYzczNTItYzUtYmFiMjNlOTY4MGEz@thread.skype"}

    The channelID of the teams which looks "19:1gLU0U5Rh1YtgBU4AqgLx1O-q4USgsEUAJwfnWn90vM1@thread.tacv2"

    Since the IDs are different, this will lead to incorrect values being passed for chatInfo.

    Note: APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.