
Announcements
Hi,
I'm facing a problem when trying to update an Outlook/Teams Meeting.
First, I use MicrosoftTeams.CreateTeamsMeeting to create the Teams Meeting - this part works fine and as a result I get the meeting ID and a new online meeting shows up in both Outlook and Teams calendars.
Then, when I try to update this meeting with a new date/time or new participants I use Office365Outlook.V4CalendarPatchItem referencing previously created meeting ID. Again, everything works fine - date/time gets changed and participant list gets updated.
However, there is one problem: for some meeting participants, including meeting organizer, the initially created Teams Meeting changes to a regular meeting in Outlook, so it is not possible to join this meeting online for these people.
I tried it with different people and it looks like there is no specific pattern for this behavior. Sometimes it changes from online to regular meeting for person A, sometimes for person B, sometimes for both. I think it always changes for the meeting owner.
Is there any other way to update the online meeting, so it doesn't change from online to regular?
The workaround is that I delete the meeting (if it exists), then create a brand new meeting using again the MicrosoftTeams.CreateTeamsMeeting. Bad side of this solution is that participants receive meeting cancellation and meeting invitation every time I have to update the list of participants or change date/time.
The code below is in a button in the gallery, where the source is a SharePoint List
Office365Outlook.V4CalendarPatchItem(myCalendarID,ThisItem.OutlookEventID,
selectedTraining.'Name (field_0)',
Text(joinedDateAndTimeSelected,"yyyy-mm-ddThh:mm:ss"),
Text(DateTimeValue(joinedDateAndTimeSelected + (LookUp(TrainingsCatalog,ThisItem.TrainingID=ThisRecord.ID,ThisRecord.MeetingDurationMinutes)/(60*24))),"yyyy-mm-ddThh:mm:ss"),
"Central European Standard Time",
{
requiredAttendees:Text(Concat(ThisItem.Participants,ThisRecord.Email,";") &";"& Concat(selectedTraining.Trainers,ThisRecord.Email,";")),
body:"Hello,
<br> I would like to invite you to " & selectedTraining.'Name (field_0)'& " training.
<br> The training will take place online.",
importance:"normal",
reminderMinutesBeforeStart:15,
isReminderOn:true,
responseRequested:true
}
)
Best regards,
Amadeusz
Hi again,
We have found the solution. The key is to use the same body attribute for Office365Outlook.V4CalendarPatchItem, as initially created with MicrosoftTeams.CreateTeamsMeeting
body: Office365Outlook.CalendarGetItem(myCalendarID,ThisItem.OutlookEventID).Body.Content,