Hello!
I have two flows set up that are connected to an app. Users go to the app to find sessions to sign up for and when they register, they are added to the Outlook Calendar event attendees through a flow that uses an HTTP request to update the object in Graph. This works fine and the users receive an email invite as expected. (Also note, the events are in a shared calendar.)
Once a user has registered for a session, they can then cancel if they need. I have another flow connected to the app that uses and HTTP request to get the current attendee object, turns it into an array, looks for the current user in the array, removes the user and then patches the attendee object back to Graph with the user removed. When I test this, it works as expected and I receive the cancellation email. However, whenever any other user tests the app, the flow fails and the HTTP request this error:
{
"error": {
"code": "ErrorItemNotFound",
"message": "The specified object was not found in the store."
}
}
I've checked and the Event ID, which is being passed through from the app, is correct and is the same as when I test the flow for myself. When I cancel myself, it finds the event, but when someone else cancels, it cannot find the event.
I'm fairly new to working with Graph and HTTP requests and I am stumped, so I'm hoping someone can help point me in the right direction.
Thank you!!