Microsoft Teams URL is missed when creating a event by Graph API

ntbridge 21 Reputation points
2022-04-18T01:57:27.717+00:00

Our service uses Graph API to create events with Teams URL.
Generally, it is working fine, but recently we have noticed that some users are creating events but missing Teams URL.

The following is the issue.

  • Events are created successfully.(https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http)
  • The value of onlineMeeting is empty in the return of creating an event.
  • Some users have this problem when they write in someone else's calendar instead of their own calendar.
     However, Teams URL is created normally when operating from the Outlook page.
     Not all users are affected when writing to someone else's calendar.
  • The issue was being issued without any problem until April 8, but the problem has been occurring since April 12. No code modifications have been made during this period, and users have not changed their settings.

Has something changed at Microsoft?
Any ideas?

**Request (partly) **
{
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}

Response(partly)
{
"onlineMeeting": null
}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,570 questions
0 comments No comments
{count} votes

Accepted answer
  1. JanardhanaVedham-MSFT 3,536 Reputation points
    2022-04-21T11:16:03.51+00:00

    Hi @ntbridge ,

    I have verified the above mentioned issue in my tenant and Online Teams Meeting URL is generated succesfully for the exising users using Microsoft Graph Calendar Events API. However I could able to replicate this issue with Online Teams Meeting URL generaton 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 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 escalalating 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 additional answers

Sort by: Most helpful