While scheduling using Microsoft Graph API, meeting is getting scheduled but meeting link is not getting generated?

Siripuram Arun 0 Reputation points
2024-07-25T11:27:57.27+00:00

While scheduling using Microsoft Graph API, meeting is getting scheduled but meeting link is not getting generated even though after giving all the required application & delegated permissions.

It's an emergency and need to be resolved on high pririoty.

Please find below required code below and provide your solutions.

Highly appreciated if anybody provides any solution.

URL & JSON Body:

User's image

Meeting scheduled by Graph API without meeting link:User's image

Given Permissions: User's image

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,326 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,289 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,289 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,346 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Gary Clarke 0 Reputation points
    2024-07-26T03:07:45.51+00:00

    I see you're having trouble with the Microsoft Graph API where the meeting link isn't being generated. Based on the image you've provided, it looks like you're using the correct JSON structure for creating an event. However, to ensure that an online meeting link is generated, you need to include the isOnlineMeeting property set to true and specify the onlineMeetingProvider as teamsForBusiness in your JSON payload.

    Here's an example of how your request body should look:

    
    {
    
      "subject": "Scheduling Meeting Using Microsoft Graph API",
    
      "body": {
    
        "contentType": "HTML",
    
        "content": "Scheduling using Microsoft Graph API"
    
      },
    
      "start": {
    
        "dateTime": "2024-07-22T15:00:00",
    
        "timeZone": "Pacific Standard Time"
    
      },
    
      "end": {
    
        "dateTime": "2024-07-22T16:00:00",
    
        "timeZone": "Pacific Standard Time"
    
      },
    
      "location": {
    
        "displayName": "Online"
    
      },
    
      "attendees": [
    
        {
    
          "emailAddress": {
    
            "address": "attendee@example.com",
    
            "name": "Attendee Name"
    
          },
    
          "type": "required"
    
        }
    
      ],
    
      "allowNewTimeProposals": true,
    
      "isOnlineMeeting": true,
    
      "onlineMeetingProvider": "teamsForBusiness"
    
    }
    
    

    Make sure that the isOnlineMeeting property is set to true and that you have the onlineMeetingProvider property set to teamsForBusiness. This will tell the API to generate a Teams meeting link.

    If you've already done this and the link is still not being generated, it could be an issue with the Teams client version. There have been reports of the link generated by Microsoft Graph API not being supported in the new Teams version, prompting users to switch to classic Teams to open the link⁷.

    Additionally, ensure that you have the necessary permissions granted for your application in the Azure portal and that the user has Teams enabled for their account.

    0 comments No comments

  2. Siripuram Arun 0 Reputation points
    2024-07-31T07:30:28.5266667+00:00

    Thank so much for your response @Gary Clarke

    I've given all the required meeting properties (Mentioned below) in the JSON body and given all the required Application and Delegated permissions.

    "isOnlineMeeting": true,

    "onlineMeetingProvider": "teamsForBusiness"

    As per your suggestion, to try opening meeting link with classic version of Teams, but first of all meeting link is not even being generated. But I still tried switching to Classic Version and facing the same issue.

    If possible could you/anybody please suggest any other relevant solution?


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.