You were able to use Update/Create Event (V4) in a 365 Group calendar!
Yes:
Get_Event_(V3) check if the SP column AppointmentID value match one of the Event ID in 365 group calendar : "id": "@triggerOutputs()?['body/AppointmentID']"
- Success (ID found) : the flow run Update_Event_(V4) with the ID from Get_Event_(V3) :
"id": "@outputs('Get_event_(V3)')?['body/id']"
- Faillure (ID not found) : The flow run Create_Event_(V4) and save in SP column AppointmentID the calendar event ID (See connector Update_item_2) : "item/AppointmentID": "@outputs('Create_event_(V4)')?['body/id']"
I deleted the ID and events to check on Create_event_(V4)
The connector has a strange behaviour, It's running multiple times, ends up creating ~100 identical events in the Group calendar, and terminates with the following error:
Output of Create Event (V4)
{
"statusCode": 404,
"headers": {
"Pragma": "no-cache",
"x-ms-request-id": “ FOO ”,
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"Cache-Control": "no-store, no-cache",
"Set-Cookie": "ARRAffinity= BAR ;Path=/;HttpOnly;Secure;Domain=office365-cc.azconn-cc-001.p.azurewebsites.net,ARRAffinitySameSite= BAZ ;Path=/;HttpOnly;SameSite=None;Secure;Domain=office365-cc.azconn-cc-001.p.azurewebsites.net",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "true",
"Date": "Fri, 08 Apr 2022 20:23:28 GMT",
"Content-Length": "462",
"Content-Type": "application/json",
"Expires": "-1"
},
"body": {
"status": 404,
"message": "The specified object was not found in the store.\r\nclientRequestId: foo \r\nserviceRequestId: bar ”,
"error": {
"message": "The specified object was not found in the store.",
"code": "ErrorItemNotFound",
"originalMessage": "The specified object was not found in the store."
},
"source": "office365-cc.azconn-cc-001.p.azurewebsites.net"
}
}
It seems like we have the same issue with the ClientRequestID and ServiceRequestID not matching.
Isn't it weird that the flow is still able to create the event in the group calendar but still ends up failing?