ErrorAccessDenied in Create event to other User

Claudio Morales 6 Reputation points
2021-04-30T13:08:24.14+00:00

hello

i´m call https://graph.microsoft.com/v1.0/users/correo@midominio.com/calendar/events in step http in Microsoft Automate at march and return ok, i'm call the same step at april 2021 and return error de seme flow

Because go to the Graph-Explore

92887-image.png

92981-image.png

My solution that I consider incorrect is to generate the token beforehand and send it in the http request

Has this happened to you?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,934 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Diana Wanjuhi 1,376 Reputation points
    2021-05-04T08:44:54.7+00:00

    Hello @ClaudioMorales-2195 this might be happening since the user whose calendar you are trying to create the event on has not shared their calendar with the user creating the event. From the outlook-get-shared-events-calendars documentation, an owner can grant a delegate to their primary calendar and act on their behalf, to receive or respond to meeting requests, or create or change items in the primary calendar. To solve this issue, kindly follow this guide on outlook-create-event-in-shared-delegated-calendar which will allow your users to create events on another's calendar.

    Let me know if this helps - and if you have further questions,

    Diana.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.