Not getting onlineMeeting.joinUrl in response while trying to create Microsoft teams meeting

Mahesh Kurucheti 46 Reputation points
2023-03-20T09:09:19.4166667+00:00

I have set "isOnlineMeeting": true and "onlineMeetingProvider": "teamsForBusiness" in the request body and hitting the URL - https://graph.microsoft.com/v1.0/users/{user_id}/events.

But in the response not getting onlineMeeting.joinUrl and also isOnlineMeeting is set to false and "onlineMeetingProvider": "unknown"

I have added the below permissions in Azure portal:

TeamSettings.Read.All

TeamSettings.ReasWrite.All

Please suggest if any other permissions/licenses are required to do Microsoft teams integration.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,668 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
2,102 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Gopinath Chennamadhavuni 2,416 Reputation points
    2023-03-20T10:44:01.6333333+00:00

    Hi @Mahesh Kurucheti,

    Hope you are doing well.

    As per the documentation: Microsoft Graph Calendar Events API, I am able to generate the Online Teams Meeting URL successfully for the existing users. However, I am able to replicate this issue with Online Teams Meeting URL generation for the new users.

    As per my analysis, reason for this issue is that teams for business meeting provider (Online Teams Meeting) is not yet enabled for the user in Outlook /Outlook Calendar. Hence allowedOnlineMeetingProviders is showing up empty data when we query using below Graph API.

    GET https://graph.microsoft.com/v1.0/{id | userPrincipalName}/calendar  
    

    Example of above API response for the below two properties for the user for whom Online Teams Meeting URL is not generated:

    "allowedOnlineMeetingProviders": [],   "defaultOnlineMeetingProvider": "unknown",  
    

    Example of Outlook Calendar UI for this user where teams for business meeting provider (or Online Teams Meeting) is not yet enabled:

    195163-image.png

    Example of Outlook Calendar UI for teams for business meeting provider (or Online Teams Meeting) enabled user :

    195156-image.png

    Hence this is not the issue with Microsoft Graph API instead it seems to be the issue with Outlook /Outlook Calendar in enabling teams for business meeting provider (or Online Teams Meeting) for the new users.

    I would advise you to open a support case with Graph API or Outlook Calendar team from your tenant for dedicated support and escalating it to Microsoft engineering team to analyze this issue and further assistance. You can raise the case either from Azure or M365 admin center of your tenant.

    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".

    0 comments No comments

  2. Mahesh Kurucheti 46 Reputation points
    2023-03-20T11:37:54.5833333+00:00

    Hi @Gopinath Chennamadhavuni

    I am able to see the value for allowedOnlineMeetingProviders when I run the below Graph API:

    GET https://graph.microsoft.com/v1.0/{id | userPrincipalName}/calendar

    "allowedOnlineMeetingProviders": [
            "teamsForBusiness"
        ]
    

    Also, seeing the "Teams Meeting" option for the user I am using, please find the screenshot below:

    User's image

    This is the same user which with I am trying to invoke: **https://graph.microsoft.com/v1.0/users/{user_id}/events **but isOnlineMeeting is false and onlineMeetingProvider is unknown in the response received.

    0 comments No comments

  3. Keshav Manuja 0 Reputation points
    2023-09-04T07:01:59+00:00

    Hii @Mahesh Kurucheti ,

    Is this issue is resolved? Please response if this issue is fixed.

    0 comments No comments