python-o365 icon indicating copy to clipboard operation
python-o365 copied to clipboard

Can't access shared calendars

Open marcrifkin opened this issue 3 years ago • 5 comments

I have an account and have added a bunch of room calendars in Outlook Web. But when I run list_calendars() I only get the accounts calendars (eg: Calendar, Holidays, Birthdays).

I'm not sure what settings to check or questions to ask the IT dept. Any tips? Is there a different way the calendars should be shared? Are there permissions that need to be set? If so, why would I see them in Outlook web but not the API? Does my account need to be in the same group? How can I tell if the calendar is in a group? My scopes are ['basic', 'calendar', 'calendar_shared']. Let me know if you need any more information. Thank you!

marcrifkin avatar May 19 '21 00:05 marcrifkin

After some reading, it sounds like either the room calendars need to be shared to my account, or my account added as a delegate to theirs. What are the pros and cons of each option?

marcrifkin avatar May 19 '21 23:05 marcrifkin

The user you use should have access to those calendars.

alejcas avatar May 26 '21 08:05 alejcas

That access can be done via sharing, without having to make my account a delegate, correct? (I am just reading public events)

Regardless of the method, the events subjects will appear as the name of the organizer by default. So I need to use the Set-CalendarProcessing cmdlet in Exchange Powershell to turn off DeleteSubject and AddOrganizerToSubject. Is that correct? Or is there another way to get the full event data?

Thank you!!!

marcrifkin avatar May 26 '21 16:05 marcrifkin

I have no clue... sorry

alejcas avatar Jun 24 '21 08:06 alejcas

That access can be done via sharing, without having to make my account a delegate, correct? (I am just reading public events)

Regardless of the method, the events subjects will appear as the name of the organizer by default. So I need to use the Set-CalendarProcessing cmdlet in Exchange Powershell to turn off DeleteSubject and AddOrganizerToSubject. Is that correct? Or is there another way to get the full event data?

Thank you!!!

Hi, did you figure out the solution? I have the same issue to access shared calendars.

libindavis avatar Feb 17 '23 03:02 libindavis