How to generate a teams meeting link with token on postman?

Kadir Bekman 0 Reputation points
2024-04-24T06:44:48.7933333+00:00

Hi guys. I have a problem with creating a teams meeting link. I know that there is a documentation about this topic but i never could success. I already read this documentation countless time and i tried different variations but it didn't work for me. You can also check the documentation (https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http) . I have a client secret, client id, tenant id etc. I have also a token which is created by me to create a teams link. So, please help me and i would be very happy when you explain the solution clearly to unterstand. Thx.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,680 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,798 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,485 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yakun Huang-MSFT 9,225 Reputation points Microsoft Vendor
    2024-04-25T02:52:17.0133333+00:00

    Hi @Kadir Bekman

    For your question, I tested in postman and it ran successfully, below I share my testing process.

    First, we need to grant the app the delegated permissions (OnlineMeetings.ReadWrite) it needs, as shown in the following diagram, and use a work or school account.

    1 Then we need to use the auth code flow to get the token, after getting the token, first parse our token in the jwt.ms, make sure the token has the permission we granted OnlineMeetings.ReadWrite, as shown in the image this is my parsing result.

    2 Finally, we can use that token in Postman to send a POST request, create an online meeting, and my test results are as follows.

    3

    Hope this helps.

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


  2. Pham Khanh Hung 0 Reputation points
    2025-01-15T08:43:03.0366667+00:00

    I would greatly appreciate your assistance. I have an Application (Client) ID, Directory (Tenant) ID, and Client Secret. My Azure account is under the Default Directory with Microsoft Entra ID Free, but I am unsure if it is categorized as a work or school account. My application has delegated permissions for OnlineMeetings.ReadWrite. Thank you so much for your support!
    User's image

    User's image

    User's image


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.