Teams Meeting attached with EWS appointment not working for cloud mailboxes

Unnikrishnan, Prasad 0 Reputation points
2024-02-07T14:47:51.3833333+00:00

When we use Teams meeting attached with the EWS meeting, we are facing issues with hybrid environment.

And this issue is happening for the users in the cloud, in on-prem it works fine. Steps to reproduce:

  1. Create an EWS meeting with teams meeting attached for this we add the following teams meeting properties to the EWS appointment.
  • SkypeTeamsMeetingUrl
  • SchedulingServiceMeetingOptionsUrl
  • SkypeTeamsProperties

code Example: appointment.setExtendedProperty(new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "SkypeTeamsMeetingUrl", MapiPropertyType.String), teamMeetingJoinWebUrl)

  1. Later try to update from the teams meeting i.e., delete attendees, edit content, change time of teams meeting.

For updating this we use the following code

  • graphClient.users(userID).onlineMeetings(TeamsMeetingId).buildRequest().patch(onlineMeeting)
  1. Then try to call EWS to update the EWS appointment. And we get the following exception.
  • microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The operation can't be performed because the item is out of date. Reload the item and try again.

 Tried with different way by updating teams meeting without EWS appointment then tried to update appointment same results. And this issue is coming up sporadically, we cannot find out which scenario this is happening.

Do anyone know we cannot attach the teams meeting with EWS meeting like in on-prem, or do we need to follow any other step for that. This code is used in application so we use client authentication for create teams meeting in graph and delegate users

Thanks in advance!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,253 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
525 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,975 questions
{count} votes