question

MaxStrandberg-1158 avatar image
0 Votes"
MaxStrandberg-1158 asked NandeeshSwami-8857 commented

How to invite a user to a calendar event using Graph API

I am trying to create a system where an administrator creates an event using said application and the following endpoint

POST /users/{id | userPrincipalName}/events

which works fine. The issue comes when users are to be invited to said event which is being done through the following endpoint

POST /users/{id | userPrincipalName}/events/{id}/forward

The request itself works fine but the end result is far from what's intended. The result of the forwarding requests can be seen here https://i.stack.imgur.com/iSTpt.png and the view when expanding the attached file can be seen here https://i.stack.imgur.com/NzH6O.png. There is no way for the recipient of the forwarded event to accept the calendar event. Have I misinterpreted the endpoint specification found here https://docs.microsoft.com/en-us/graph/api/event-forward?view=graph-rest-1.0&tabs=http , and if so, what should I do instead? I've previously attempted updating the event using PATCH to the following endpoint

PATCH /users/{id | userPrincipalName}/events/{id}

But it forces you to fetch and/or cache the attendant property as it overwrites on PATCH. Any help is once more appreciated.

microsoft-graph-calendar
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am checking this, will revert.

0 Votes 0 ·

0 Answers