DWRoelands
DWRoelands

Reputation: 4940

How to list events on Outlook group calendar

In my Outlook client, I have access to a Group Calendar, "XYZ Cloud". Through Outlook, I can create, edit and delete events on this calendar.

When I use the Microsoft Graph Explorer and query /me/calendars, the Group Calendar is not returned. I would expect to see the Group Calendar.

I've navigated to the "Modify Permissions" tab in the Graph Explorer and granted Calendars.ReadWrite, Calendars.ReadShared and Calendars.Read.

Questions:

  1. How can I get the ID of a specific Group Calendar to which I already have access?
  2. How can I retrieve a list of events on that Group Calendar?

Upvotes: 0

Views: 806

Answers (2)

Tiny Wang
Tiny Wang

Reputation: 16066

agree with user2250152, and pls make sure you already add correct api permission -- Group.Read.All, Group.ReadWrite.All:

enter image description here

related document:https://learn.microsoft.com/en-us/graph/api/calendar-list-events?view=graph-rest-1.0&tabs=http#permissions

Upvotes: 2

user2250152
user2250152

Reputation: 20823

It's quite possible that group calendar can be found when you call

GET /me/groupCalendars

To list calendars in calendar group you can call

GET /me/calendarGroups/{id}/calendars

Documentation:

List group calendars

Upvotes: 1

Related Questions