Hi, Matthew Wetmore I want to help you with this question.
As I understand, you want to create an event via Graph API, but with the POST Request you get the error response shown in the screenshot, right?
As you assume it looks like a permission problem.
Please check the permissions of the service principal (app registration) if you have set the following permissions and they are consented.
Calendar | Delegated (work or school account) | Delegated (personal Microsoft account) | Application |
---|---|---|---|
user calendar | Calendars.ReadWrite | Calendars.ReadWrite | Calendars.ReadWrite |
Please consider that the group calendars can only be chosen by the Delegated (work or school account)
See also: https://learn.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=http
Additionally, check that you have a valid bearer token. But I think everything is fine with it. You would get another error message rather.
If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you!