I'm using Graph API to update calendar events. I've encountered following error on attempt to update calendar event with specific ID: "The property 'attendees' does not exist on type 'Microsoft.OutlookServices.Event" I'm doing PATCH request using following address: https://graph.microsoft.com/v1.0//me/events/${id} with this payload in JSON :
{
attendees: [{emailAddress: {address: "test@test.com", name: "Jan Kowalski"}, type: "required"}]
body: {content: ""}
end: {dateTime: "2022-11-20T21:13:51", timeZone: "Europe/Warsaw"}
location: {displayName: "Dom"}
start: {dateTime: "2022-11-13T21:13:51", timeZone: "Europe/Warsaw"}
subject: "My event"
}
According to the documentation such properties exist.
Get event and deleting event work.
What more when I am trying to do the same update query with the token copied from the Graph Explorer, updating works fine. I am using MSAL2 auth provider for authentication
The question is - am I doing something wrong? May it be something with permissions?