Forum Discussion

LeeJinWoo's avatar
LeeJinWoo
Copper Contributor
Oct 25, 2023
Solved

How to obtain the ID of an online meeting and edit the title using Graph API?

Greetings, my final goal is for the bot to change the title of the online meeting it is installed in using the Graph API. It's very simple, but I'm running into a problem. The problem is as follows...
  • LeonPavesic's avatar
    Oct 25, 2023

    Hi LeeJinWoo,

    you can try using these steps:

    To obtain the ID of an online meeting:

    • Using the joinWebUrl: Call the following Graph API endpoint:

     

    GET /communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'{videoTeleconferenceId}'​

     

    where {videoTeleconferenceId} is the videoTeleconferenceId property of the MeetingInfo object.

    • Using the meeting organizer's user ID: Call the following Graph API endpoint:

     

    GET /users/{userId}/onlineMeetings​

     

    where {userId} is the user ID of the meeting organizer.

    To edit the title of an online meeting:

    1. Call the following Graph API endpoint:

     

    PATCH /me/onlineMeetings/{meetingId}​

     

    where {meetingId} is the ID of the online meeting.

    1. In the request body, include the subject property with the new title of the online meeting.

    Example:

     

    PATCH /me/onlineMeetings/19:email address removed for privacy reasons/
    {
      "subject": "New meeting title"
    }

     

     

    You need the OnlineMeetings.ReadWrite permission to call the above Graph API endpoints.

    Get onlineMeeting - Microsoft Graph v1.0 | Microsoft Learn

    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)

Resources