question

ntbridge-1074 avatar image
0 Votes"
ntbridge-1074 asked JanardhanaVedham-MSFT commented

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

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://docs.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-calendar
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JanardhanaVedham-MSFT avatar image
0 Votes"
JanardhanaVedham-MSFT answered JanardhanaVedham-MSFT commented

Hi @ntbridge-1074 ,

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


image.png (32.5 KiB)
image.png (36.4 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JanardhanaVedham-MSFT

Thank you for your answer. Sorry for the late reply.

The user used to work fine and suddenly not working. And it's been working fine again for the past few days.
The user has not changed any settings.
I do not think it settings of Outlook or Teams Meeting.

Thanks,

0 Votes 0 ·

Hi @ntbridge-1074 ,

Thanks for your reply. Good to know that it working fine again now.

As I mentioned above, I am able to replicate Online Teams Meeting URL generaton issue for the new users only but Online Teams Meeting URL is generating fine for the existing users in my tenant.

In future incase you face this issue again in your tenant, I would suggest you to open up a support case with Graph API team from your tenant for dedicated support and escalalating it to Microsoft engineering team as needed for further investigation and resolution. Please note that you can raise the case either from Azure or M365 admin center of your tenant.

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

0 Votes 0 ·