An error occurred when I requested an event in the calendar

chenzhixin 0 Reputation points
2024-04-16T09:15:29.0233333+00:00

{"respResult":{"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}},"respUrl"tps://graph.microsoft.com/v1.0/groups/c40d0025-d599-4554-9dfc-0860ab5d658a/events"},"time":"2024-04-16 17:13:16"}

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

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 36,976 Reputation points
    2024-04-17T08:26:52.1833333+00:00

    Hi @chenzhixin

    Make sure you have one of the Group.Read.All or Group.ReadWrite.All delegated permissions. Additionally, the logged in user must be the owner of the group.

    User's image

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.