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
3 months 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]
3 months 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

New Reply
This reply is
Your name (optional):