Using Graph API to create a instant meeting in Teams

Graph API is a getting better all the time. New capabilities are being added and it eventually means more automation that can occur inside Teams. I was exploring Graph API possibilities recently to my upcoming SharePoint Saturday session. This time I concentrate on creation a instant meeting. The Meet Now functionality is actually in Graph API already, but the button to UI version of it is not yet out (it will appear to Teams Calendar app).

The Graph API call

The fun: MeetNow is done in Graph API using application permissions. So a bot, application or a Flow / Logic Apps can create a Teams meeting. No, it is not a scheduled one but it is available instantly. To see Graph API documentation head to article.

I tested this one with a simple code, using my own user ID in a demo environment.

  "meetingType": "meetNow",
  "participants": {
    "organizer": {
      "identity": {
        "user": {
          "id": "[myUserId-Guid]"
  "subject": "MeetNow from Graph API"

That’s the call body. Simple, effiecient. That could be easily done in many applications. Then execute the call


From the response you can isolate easily the most important information

  • joinURL

Send that joinURl into participants you want to add into a meeting. But there is more in that meeting.

Use the Chat, Luke.

Application can also write information to the meeting chat. Perhaps some background information is needed, links to documents – you name it. Writing a chat however happens with delegated permissions only. We can get that meeting chat information from the MeetNow.

  • chatInfo.threadId
The actual body is easy to create:
  "body": {
     "content" : "Hello into meeting chat from Graph API!!"

What might be also useful, is to get a transcript of the meeting chat afterwards. However, executing that with application permissions requires approval from Microsoft and raises other questions as well. Running it using delegated permissions works with less hassle and it is also ethical (user participated in the chat).[threadId]/members 
lists all participants and 
returns all messages in that chat

Retreiving meeting participants can be done by an application. This could be used for sharing some information automatically to all participants later on, for example.

There are lots of great ways to use Teams Graph API to meet the needs – but remember that many of these APIs are still are still in beta phase and should not be used in actual production. Piloting and POCing however is a another story.

4 thoughts on “Using Graph API to create a instant meeting in Teams

  1. Hi ,

    I am trying your suggestion in my solution using Microsoft Power automate, But can you please let me know how can I specify the channel where I need to create the meeting invite?


    1. Thank you for the comment. After a few quick tests and checking Docs-documentation the reason is quite clear. /app path is deprecated in Teams Graph API and thus this article is no longer up to date.
      You might want to check how to create a new event and set isonlinemeeting true.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.