I'm using a platform called Workato to manage some Outlook Calendar automations. The platform has calls like "new event" and "update event" built in, but if I want to delete an event I need to use a custom action. I'm using this endpoint to delete an event:
https://graph.microsoft.com/v1.0/me/events/{id}
When I make this call, I get this error:
401 Unauthorized: {"error":{"code":"InvalidAuthenticationToken","message":"Access token validation failure. Invalid audience.","innerError":{"date":"2021-09-16T05:12:44","request-id":"a042604a-2cff-45b0-a857-95a2558eb763","client-request-id":"a042604a-2cff-45b0-a857-95a2558eb763"}}}
Workato is managing my authorization via an in-app connector. The app has Calendar.readwrite persmissions. Am I making the wrong call? What do I need to do to get proper permissions? Any help would be appreciated, thanks.