Hi @Himanshu_90677,
In this scenario, I could only show you to edit the calendar event of the current user.
Here is the simple demo for your reference.
1). To retrieve the unique id of the user calendar and to store it in a variable called varUserCalendarId, we use the formula as below. You could set it to the OnSatrt property of the App.
Set(varUserCalendarId,
LookUp(Office365Outlook.CalendarGetTablesV2().value,
name="Calendar").id
)
2). To display a list of calendar entries for a given Outlook calendar, we call the GetEventsCalendarViewV3 method, you need to add a ComboBox and set the Items property with the following formula:
Office365Outlook.GetEventsCalendarViewV3(
varUserCalendarId,
Text(Date(2023,4,01),DateTimeFormat.UTC),
Text(Date(2023,4,30),DateTimeFormat.UTC)
).value
3). To update a calendar entry, we call the V3CalendarPatchItem method. This method requires the calendar ID, and a specific calendar entry ID from the ComboBox selected.
Office365Outlook.V3CalendarPatchItem(
varUserCalendarId,
ComboBox1.Selected.id,
"New Subject Text",
idCalendarEntry.start,
idCalendarEntry.end,
{Body:"Updated calendar entry body text"}
)