search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Read a Shared Calendar Appointments

Related article: Loading Calendar Appointments from Exchange Server (Office 365) using EWS (ASP.NET)
Asked by Rajesh Tadimalla
5 years ago.

I have a shared mailbox and would like to retrieve the appointments from the Shared Calendar. How can I acheive this?

Answer posted by Dan Letecky [DayPilot]
5 years ago.

You should be able to get connect to a shared calendar like this.

Instead of:

// load the default calendar
CalendarFolder calendar = CalendarFolder.Bind(Service, WellKnownFolderName.Calendar, new PropertySet());

use:

FolderId folder= new FolderId(WellKnownFolderName.Calendar, "another@mailbox.com");
CalendarFolder calendar = CalendarFolder.Bind(Service, folder);

See also:
https://stackoverflow.com/questions/41095971/how-do-i-access-a-shared-calendar-using-ews-managed-api

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.